Hello again wise monks.
One of my colleagues is encountering a strange issue with a script he's working on. His script is setting up a directory structure using the mkdir command but the permissions are not matching the permissions that he's passing to mkdir
This is the code that he's using: mkdir ("$new_dir", 0770) or die $!;
The directory is created, however it has 750 listed as the permissions.
I've run similar code myself and haven't noticed a problem, so I'm a bit confused. For what it's worth, the script is being run on a RedHat box.
Thanks in advance for you guidance.