On Fri, Mar 1, 2013 at 10:46 AM, Amit Karpe <amitkarpe@xxxxxxxxx> wrote:
Michael,On Fri, Mar 1, 2013 at 2:35 AM, Michael E. Maher <michael@xxxxxxxxxxxxxxxxx> wrote:
Hi Amit,
You have kind of answered your own question here. If you need root
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 ?
>
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
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 /borneo4ls: cannot access /borneo4/test-dir: Permission denied?????????? ? ? ? ? ? test-dirclient# su - eosclient$ ls -lh /borneo4/ls: cannot access /borneo4/test-dir: Permission deniedtotal 0?????????? ? ? ? ? ? test-dirAnd on server side I am ready change file permissions. By changing ownership of directory will solve this problem without using no_root_squash ?
Finally I solved this problem by just changing permission on server directory.
server# chmod o+x /borneo4
Now my client can access without any problem.
Thank You, Michael.
-- 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