Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I currently have an NFS mounted   /mnt/backup nfs rsize=8192,wsize=8192,timeo=14,intr

The problem is, this mounts 777 permissions and I want it to be 700, the directory is set to 700.

dmask and dir_mode both are invalid options, the man page didnt say anything about mode permissions either. How do I lock this down to 700 root access only?

share|improve this question
up vote 1 down vote accepted

The permissions in this case come from the remote host, The mount point permissions are superseded by the remote filesystem's permissions.

If you need to prevent others from accessing it, mount it one level deeper, ie /mnt/b/backup, and chmod 700 /mnt/b beforehand. (You could change perms on /mnt but probably that's going to interfere with access to other mount points.)

share|improve this answer
I already did that to some degree locking down mnt to 770 which works just fine since it's not often anything is mounted. I think I can also lock down the permissions on so that should get me everything I need. Thanks a ton. – Mech Software Feb 27 '10 at 13:48
Great! No worries. :-) – fission Feb 27 '10 at 20:00

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.