Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is seems like it would be a very common configuration question, but I don't know how phrase it properly enough for Google to help.

I am using a server with NFS to serve up both home directories and a shared documents directory mounted as /opt/shared. When a user creates a file in his home directory, I'd like the default file mode to be 600. However, if he creates a file in /opt/shared, it should be set to 660. Is this even possible?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I believe you are looking for a function that is included in bindfs. See link below for details.

HOWTO: Change umask, permissions, ownership etc. of a folder

http://www.linuxquestions.org/questions/blog/kribor-618996/howto-change-umask-permissions-ownership-etc-of-a-folder-using-bindfs-23934/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.