From: Dan Harkless Date: Thu, 27 Jan 2000 20:12:38 +0000 (+0000) Subject: Fixed multiple bugs in makedir(). First off, when creating nested folders, it X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6e0e2e4490ebb9daf1f62ed7a2d30412551772ee?ds=inline;hp=6e0e2e4490ebb9daf1f62ed7a2d30412551772ee Fixed multiple bugs in makedir(). First off, when creating nested folders, it only set permissions properly on the innermost one. Secondly, it passwd an octal constant to atoi(), which only works on decimal numbers, resulting in directories with no user read or execute permission, making creation of nested dirs fail. Also added a comment wondering why we do special processing when euid != uid. If no one disagrees with my comments, I'll remove that weird code in the future. ---