December 4th, 2013, 03:40 AM
File base permissions are 666, why and is this a configurable value?
It is specified in various documentation on the net that linux/unix file base permissions are 666 with regards to how umask manipulates.
This is also relevant with regards to the fact that default ACL permissions enforce a rw mask for files created under a default ACL persmission.
1. Can the file base persmissions of 666 be changed?
2. Is the behavior with regards to the mask generated for files created under a default ACL that appears to mimic said file base permissions of 666 (deactivating write) in fact a function of the said file base permissions?
3. If #1 is a configurable options, where is said configuration? Perhaps it is a configuration of certain file systems.
December 4th, 2013, 08:08 AM
What documentation are you referring to? I've been using Linux for almost ten years, and I've never heard of this.
If it's a Linux filesystem you're mounting, you can change the permissions to whatever you want with a chmod command.
If it's an NTFS or FAT32 filesystem you're mounting, the umask dictates the permissions, and they are definitely not 666 regardless of how you set the umask.
December 4th, 2013, 10:54 AM
File base permissions are the permissions from which the umask is subtracted from . They are 777 for directories and 666 for files.