Re: NFS Doesn't Exist Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





[root@localhost nfsshare]# ls -ldn /home/coolboarderguy/nfsshare
drwxr-xr-x  2 0 0 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare


So this directory is owned by root and nobody else has write permission on it.

yes, so, I thought I'd change it to my regular user, but, as soon as you mount the remote dir to it, the ownership goes back to root:root


[root@localhost nfsshare]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)


Please run "id" as your regular user account that you want to use this share as.

[coolboarderguy@localhost ~]$ id
uid=500(coolboarderguy) gid=500(coolboarderguy) groups=500(coolboarderguy)


What's the entry in /etc/exports for this share on 192.168.168.10?
/home/batmanbegins/nfsshare      192.168.168.12(rw, sync)


By default, root access to NFS shares isn't allowed (see the root_squash option in "man exports").

yes, that's a last option, though.


Ideally the directory "/home/batmanbegins/nfsshare" on 192.168.168.10 should be owned by your user, or a group you are in, and have the appropriate write permission.

so, I have to add a user(for example, coolboarderguy), from the client machine, into a group on the server, or make it the owner of that dir/file on the server machine.? I thought giving the host(192.168.168.12) rw options in the exports file allows that host to write to the dir, no..?


Paul.

cheers.

Mark Sargent.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux