Permission mystery with NFS
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:
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.)
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.
touch: cannot touch `toto': Permission denied
My /etc/exports has these lines:
The drives are mounted rw on both server and client.
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...