This is reposted here to hopefully attract som answers. Original post: https://superuser.com/questions/1001470/files-directories-created-on-nfs-mount-with-no-permissions
I have a set up with a client running ubuntu 15.10 and a NFS server (Synology NAS, with DSM 5.2). I've succesfully mounted the share I need using the following line in fstab:
diskstation:/volume1/share /mnt/DiskStation/share nfs rw 0 0
(It doesn't automount - but thats another question :))
My nas is setup with rw privilege and permission to access mounted subfoldes - i use no_root_squash since im not accessing the share as root.
My problem is when I create a file or directory it is created with d---------
and is obviously inaccessible without running af chmod command first. I would like the files to be created with read and write rights for user and group and read for guests.
I've set my umask to "002" - but it doesn's seem to change a thing.
What can I try/do?
UID
(id -u
) are you using on the client? WhatUID
does that get mapped to at the server? – waltinator Nov 17 '15 at 17:25