Results 1 to 2 of 2
Thread: NFS + File permissions
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2010
NFS + File permissions
I am trying to test a setup, but not very good with linux.
After a few hours of testing and trying, I don't know where to go next.
Trying to setup NFS, and partially there. I think its permissions now?
In my exports I have:
drwxr-xr-x 7 www-data root 4096 Feb 6 04:00 internal
drwxrwxr-x 2 www-data www-data 4096 Feb 5 23:33 PUBLIC drwx------ 4 www-data root 4096 Apr 26 2009 RECORDING drwx------ 2 www-data root 4096 Feb 6 01:57 TESTSHARE drwx------ 2 root root 16384 Feb 17 2002 lost+found -rw-r--r-- 1 www-data root 18 Feb 6 04:00 test.txt
EDIT: If I mount this using root from another linux box it works ok, so now it is just how to allow anon access? (trying to connect to VMWare ESXi with it)
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
Here are the examples from the nfs exports man page:
# sample /etc/exports file / master(rw) trusty(rw,no_root_squash) /projects proj*.local.domain(rw) /usr *.local.domain(ro) @trusted(rw) /home/joe pc001(rw,all_squash,anonuid=150,anongid=100) /pub (ro,insecure,all_squash)
/shares/internal (rw,async,anonuid=33,anongid=33)Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!