Suse/NovellThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Switched back to good old SuSE 9.1 :D
Posts: 30
Rep:
NFS Problem
Hello everyone,
I have read the tutorial in the tutorial section on how to set up two Linux computers using NFS. So I tried.
I run NFS server on my desktop share this folder /home/my user/Shared
to * host and with option: rw, root_squash, sync.
I want to have 'rw' because I want to make this folder like a place where I can put my stuff and share with my laptop when I want.
Then, I go to my laptop, use Yast2 and run NFS client.
I connect to the NFS server of my desktop (192.168.2.2) and
choose /home/my user/Shared
mount point: /mnt/SeraphSword
option: default (since I don't know any other option)
After that, right click on the desktop choose new->device->nfs. I choose it to point to the mount point 192.168.2.2:/home/my user/Shared(mount to mnt/SeraphSword)
Everything seems to be correct for me. Then, when I try to copy something on my laptop to this NFS folder, it DOES not work. It says I have permission problem. I don't know what's wrong since I have specified 'rw' in my NFS Server settings, things should not be a trouble.
Distribution: Switched back to good old SuSE 9.1 :D
Posts: 30
Original Poster
Rep:
Here it goes:
>ls -l /mnt/SeraphSword
total 0
>
In fact, there is no file in it yet since I found no way to put a file into even when I am on root @ my desktop. I am confused now. How can I put files into it anyway?
post the output of ls -l /mnt then. It'll tell us what the permissions are on the directory SeraphSword.
Also, what's the permissions set to on the "server" side? What user are you logged in as and trying to write files? It's just an early guess, but you might need to set the NFS opitions on the share to no_root_squash instead of root_squash.
the rw just means that you COULD read/write through the NFS mount IF you have permissions. It's an added level of security. I'll bet if you tried to right to the share as root on the local computer, you'd have no problems.
Otherwise, you have to change the ownership to the regular user account you are logged in as. This is also done as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.