Re: Client connect to NFS server as user?

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

 



On 06/21/2009 07:51 AM, Bob Goodwin wrote:
I'm still trying to mount as user "bobg" without success! 192.168.1.48
is the server, 192.168.1.9 is a client and in the "box9" client I have
the following lines in /etc/fstab:

192.168.1.48:/home /home/NFS-files nfs rw,users 0 0
> 192.168.1.9:/home  /home/NFS-files nfs rw,users 0 0
I'm not certain both are required but when I su to root everything works
as expected. As user "bobg" I get the following:

Don't list the client in fstab. You should have only one line specifying any given mount point. (That is, the second field should be unique)

[bobg@box9 ~]$ mount.nfs box48:/home/NFS-files /mnt/home
mount.nfs: permission denied: no match for /mnt/home found in /etc/fstab

/mnt/home is the directory on the client where the server files should
appear

Well, then, that's what you should have said in /etc/fstab:

box48:/home	/mnt/home	nfs	users	0 0

With that in /etc/fstab, a user should be able to mount the directory by "mount /mnt/home" and unmount with "umount /mnt/home".

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux