My umask is set up to 000 in /etc/profile. My perl script creates a folder with 'mkdir', where I pass in a mask of 0775. When I run a stat command to see permissions on the created folder it shows 0755. Why is it 0755 instead of 0775 ?
printf("UMASK = %04o\n", umask); # prints out UMASK = 0000
Last edited by kosmonaft; 10-08-2005 at 10:22 AM.