LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can you set a default umask for only certain directories? (https://www.linuxquestions.org/questions/linux-general-1/can-you-set-a-default-umask-for-only-certain-directories-191266/)

BrianK 06-08-2004 06:34 PM

can you set a default umask for only certain directories?
 
I have an NFS share where I want everyone in group "foo" to be able to edit eachother's files, so in that dir, I want a umask of 002, but everywhere else, I'd rather it be 022. Is this possible?

jschiwal 06-11-2004 08:16 PM

Use guid=foo,umask=002 options in the /etc/fstab mount entry.

BrianK 06-11-2004 09:34 PM

Quote:

Originally posted by jschiwal
Use guid=foo,umask=002 options in the /etc/fstab mount entry.
oh cool.. awesome. thanks!

BrianK 06-14-2004 10:02 PM

Quote:

Originally posted by jschiwal
Use guid=foo,umask=002 options in the /etc/fstab mount entry.
correction - these options are not available for NFS (they are for NTFS... what a difference a 'T' makes). ;)

any other ideas?


All times are GMT -5. The time now is 08:14 PM.