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 #1
- Join Date
- Mar 2010
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:
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
touch toto touch: cannot touch `toto': Permission denied
My /etc/exports has these lines:
/export computer2.local(rw,fsid=0,insecure,no_subtree_check,async) /export/DATA computer2.local(rw,nohide,insecure,no_subtree_check,async)
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...
- 06-21-2012 #2
Probably because the user IDs don't match up on the other side. Try adding 'all_squash' to /etc/exportslinux user # 503963