Re: NFS Client: Backup preparation problem

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

 





On Fri, Mar 1, 2013 at 2:35 AM, Michael E. Maher <michael@xxxxxxxxxxxxxxxxx> wrote:
Hi Amit,

On Thu, 2013-02-28 at 17:39 +0800, Amit Karpe wrote:
>
> If I used no_root_squash in /etc/exports on server I can access
> directory without problem.
> /disk12   172.21.123.219(rw,sync,no_root_squash)
>
> What can be the problem ?
>

You have kind of answered your own question here. If you need root
access to the files from the client, you will need the 'no_root_squash'.
All that option does is honour your clients root user over the NFS share
(not great for security but I don't know your set up details).

Other than that you'd have to manage the users on both systems, to be
the same name/uid/gid etc.. and do everything as a non-root user (better
for security).

Take a look at this link[0] and hopefully that should clear it all up.


Thanks,
Michael


[0]http://www.troubleshooters.com/linux/nfs.htm#_If_it_mounts_but_cant_access



Michael,
In following situation if I access as root or non-root, I am facing same "Permission denied" error.
So the problem is just not with root but all users.

client# ls -l /borneo4
ls: cannot access /borneo4/test-dir: Permission denied
?????????? ? ? ? ?                ? test-dir
client# su - eos
client$ ls -lh /borneo4/
ls: cannot access /borneo4/test-dir: Permission denied
total 0
?????????? ? ? ? ?                ? test-dir



And on server side I am ready change file permissions. By changing ownership of directory will solve this problem without using no_root_squash ? 

--
Regards
Amit Karpe.
http://www.amitkarpe.com/
http://news.karpe.net.in/
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[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