Skip to content
Snippets Groups Projects
Commit 5a3d3931 authored by deuce's avatar deuce
Browse files

Call do_seteuid() as soon as possible to avoid creating dirs/files as

startup iser (often root)
parent daca43ed
No related branches found
No related tags found
No related merge requests found
......@@ -1595,6 +1595,7 @@ int main(int argc, char** argv)
if((gr_entry=getgrnam(new_gid_name))!=0)
new_gid=gr_entry->gr_gid;
do_seteuid(TRUE);
#endif
/* Install Ctrl-C/Break signal handler here */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment