Re: NFS root only access -

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

 




On 2019-12-10 15:32, Ed Greshko wrote:
Therefore, follow what I said earlier.

On the server.....

chown -R bobg:bobg /nfs4exports

Making ownership of the directory.

.

Before

[root@NFS-Server bobg]# ll -al /nfs4exports
total 12
drwxr-xr-x.  3 bobg root 4096 Dec  8 16:21 .
dr-xr-xr-x. 20 root root 4096 Dec  9 11:01 ..
drwxrwxr--.  5 root root 4096 Dec  9 13:47 home

[root@NFS-Server bobg]# chown -R bobg:bobg /nfs4exports

After

[root@NFS-Server bobg]# ll -al /nfs4exports
total 12
drwxr-xr-x.  3 bobg bobg 4096 Dec  8 16:21 .
dr-xr-xr-x. 20 root root 4096 Dec  9 11:01 ..
drwxrwxr--.  5 bobg bobg 4096 Dec  9 13:47 home


After system restart nfs-server and exportfs -ar at the server the client mount is:

192.168.2.128:/nfs4exports/home on /media/nfs type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.153,local_lock=none,addr=192.168.2.128)

but permission still denied of the client:

[bobg@Workstation-1 ~]$ ll -al /media/nfs/
ls: cannot access '/media/nfs/': Permission denied

Still something missing ,,,  Dunno, maybe I should reboot both computers?


--

 Bob Goodwin - Zuni, Virginia,
Fedora Linux-31 XFCE
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux