Jun 072010
If perl is making your directories as 0755 even tho you’ve seriously told it 0777. Your umask is set to 0022.
Change it to 0 to get perl to obey…
my $umask = umask 0;
mkpath(“$home/$FORM{userDir}”, 0, 0777) unless -d “$home/$FORM{userDir}”;
Sorry, the comment form is closed at this time.