Re: NFS root omly access -

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

 



On 10Dec2019 07:55, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
On 2019-12-10 07:21, Cameron Simpson wrote:
On 09Dec2019 18:05, Bob Goodwin <bobgoodwin@xxxxxxxxxxx> wrote:
My NFS server works fine but not as a user other than root and I have not been able to change that. I suspect this is not an uncommon problem and hope that someone can tell me how to fix it?

Are you saying that on a _client_ machine, users who are not root cannot browse the mounted NFS tree?

If so, the first thing to come to mind is that traditionally, the underlying mount directory permissions govern access to the top of the mount.  So:

- umount the NFS share
- look at the perms on the mount point; are they root only?
- try: chmod 755 /the/mount/point
- remount the NFS share and retest


That isn't quite what he'd want.

Do we know what Bob wants? It sounds like his clients can't access the mounted FS even though the perms with it are likely the same.

The above procedure is to _test_ if the perms on theunderlying mount are causing his nonroot users this trouble.

Awaiting further details from Bob, myself.

Example below.  Note that this is a home system and I keep the UID and GID
of all users the same on multiple system.

Example:    (The NFS client is meimei and I start with no file system mounted)

[egreshko@meimei ~]$ whoami
egreshko

[egreshko@meimei ~]$ ls -ld /mnt
drwxr-xr-x. 3 root root 4096 Jul 25 08:35 /mnt

[egreshko@meimei ~]$ touch /mnt/x
touch: cannot touch '/mnt/x': Permission denied

Aye, but I have the impression that his failure happen post mount, not before the mount.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
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