Hi,
Got a couple of questions about linux umask, I know that for full permissions on files the octal value is 666 and directories is 777, but what i don't understand is how to work out umask values given a permission string.
Say for example say I want new files to be created as rwx r-- r-- (744), How would i calculate the umask value for these permissions?
Secondly, does umask operate on a per directory basis or per user basis?
Thanks,
Jack
Got a couple of questions about linux umask, I know that for full permissions on files the octal value is 666 and directories is 777, but what i don't understand is how to work out umask values given a permission string.
Say for example say I want new files to be created as rwx r-- r-- (744), How would i calculate the umask value for these permissions?
Secondly, does umask operate on a per directory basis or per user basis?
Thanks,
Jack