Mask that controls which file permissions are set for files and directories when they are created. It also refers to a function that sets the mask, and to the mask itself, which is formally known as the file mode creation mask.

learn more… | top users | synonyms

2
votes
2answers
45 views

Confused on file and directory permissions for Samba shares

I've been searching for while to try to understand the following mask/mode fields for creating files/folders in Samba shares: create mask force create mode directory mask force directory mode But ...
2
votes
1answer
267 views

How are default permissions determined (on OS X)?

My (limited) understanding of basic Unix is that any files that are created will be created based on the permissions of the creating user. In particular, the group assigned will be the creating user's ...
1
vote
1answer
460 views

Apache created files and its permissions for CentOS 6.x

In short, I have an authenticated HTTP-POST that: posts a jpg image (created as 666 apache:www) into /directory1 (777 ftpuser:www) creates /directory2 (created as 666 apache:www) in a 777 ...
1
vote
0answers
29 views

Can't determine where umask is being changed

On my RHEL system, my /etc/login.defs has the line UMASK 077. I have one user who has a .cshrc which changes his umask to 022. I also have a second user who does not have a .cshrc or .bashrc or any ...
0
votes
0answers
15 views

umask issue with apache phusion passenger

We have a rails application where a unix account will write to directory belonging to another unix account. I have added both the accounts to a common group. The new file which is getting created does ...
0
votes
0answers
222 views

mount command permissions: ntfs vs. ntfs-3g

I see numerous how-to examples for mounting an ntfs partition with either a mount command or an entry in fstab. In all cases, specifying ntfs as the filesystem is associated with also specifying ...
0
votes
0answers
369 views

Umask for root and other system users

If I am not wrong, this is how umask is calculated. for dir, 777 - 022(root's umask value) = 755. for file, 666 - 022(root's umask value) = 644. Now, where this umask value is defined? Is it the ...