On 01/20/14 07:07, Chris Stankevitz wrote: > On Sun, Jan 19, 2014 at 11:13 AM, Neil Bothwick <[email protected]> wrote: >> Put the mount in /etc/fstab with the noauto and users or user options. > > Neil, > > Thank you. I did this; however, as soon as I mount, the directory > becomes owned by root and I cannot write to it. Please consider: > > jane cstankevitz # grep nfs /etc/fstab > adam:/mnt/volume_a/sdn_collections > /home/cstankevitz/Desktop/sdn_collections nfs rw,noauto,user 0 0 > > Desktop $ ls -l /home/cstankevitz/Desktop/ > drwxr-xr-x 2 cstankevitz cstankevitz 4096 Jan 19 20:43 sdn_collections > > Desktop $ mount ./sdn_collections/ > Desktop $ ls -l /home/cstankevitz/Desktop/ > drwxr-xr-x 2 root root 2 Jan 19 20:37 sdn_collections > > Please note how the ownership changes from cstankevitz to root after I > mount. What am I doing wrong?
That's how it is supposed to work. nfs is a Unix filesystem, it obeys Unix user and permissions (unlike say VFAT or smbfs where it has to fudge these things). NFS will mount the filesystem using whatever is set on the server. You cannot override the permissions the server has set from the client You probably want to tweak your squash settings. Check /etc/exports on adam or run "shopmount -e adam" on your local machine -- Alan McKinnon [email protected]

