Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

share|improve this answer

Your Answer


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.