Results 1 to 2 of 2
Hello everybody,
I'm setting up a small shared file system between two computers, both running ubuntu desktop.
I want to access data from computer1 on computer2. I set up a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-20-2012 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 19
Permission mystery with NFS
Hello everybody,
I'm setting up a small shared file system between two computers, both running ubuntu desktop.
I want to access data from computer1 on computer2. I set up a nfs server on computer1 and client on computer2. I followed the SettingUpNFSHowTo from ubuntu community and everything seemed to work fine, untill I realized that I could not write anything on the data of computer1 from computer2.
Diagnostics are as follows:
on computer2:
returns this line with my mount point of the remote folders:
Aparently, user1 username and labmembers group are mapped just fine. (directories owned by other users that exist only on the server belong here to nobody. root is mapped correctly.)Code:ls -l / (...) drwxrwxrwx 5 root root 4096 Jun 5 16:48 mnt (...) ls -l /mnt drwxrwsr-x 18 root labmembers 4096 Jun 20 14:29 DATA drwxrwxr-x 8 root labmembers 4096 Jun 20 14:28 DATA2 drwxrwxr-x 21 root root 4096 Jun 15 17:21 homes ls -l /mnt/DATA drwxrwsr-x 7 user1 labmembers 4096 Apr 20 09:16 AlphaPsyc
I am user1, and part of group labmembers. If I cd into the subdirectory, all the content is rw by me. Now, if I
On the server side, the same operation in the /export/DATA/AlphaPsyc folder I exported works no problem.Code:touch toto touch: cannot touch `toto': Permission denied
My /etc/exports has these lines:
The drives are mounted rw on both server and client.Code:/export computer2.local(rw,fsid=0,insecure,no_subtree_check,async) /export/DATA computer2.local(rw,nohide,insecure,no_subtree_check,async)
idmapd.conf has
Domain = local on both server and client. doing sudo exportfs on the server shows me that all the directories are shared with computer2.correct.domain.name
What am I missing! Any help will be much appreciated...
Thanks!
Max
- 06-21-2012 #2
Probably because the user IDs don't match up on the other side. Try adding 'all_squash' to /etc/exports
linux user # 503963


Reply With Quote
