Linux.com

Author Message
Joined: May 16, 2008
Posts: 43
Location:Mexico
Other Topics
Posted Oct 06, 2008 at 7:33:11 PM
Subject: [HELP!] chown/chmod NFS files
Hi everybody, Okay, after a copuple of hours googling in search for an answer with no success, i come here with the hope to find the light. This is "simple": I mounted a remote filesystem with NFS (as root) as you can see on my fstab file: [code=xml]xxx.xxx.xxx.xxx:/media/docs /mnt/data nfs auto,sync,nosuid,user,rw 0 0[/code] I can write, read, erase files, etc. But if I try ot chmod/chown a file or a directory, i get the following message: [code=xml]# chown nobody.nobody /mnt/data/hello.txt[/code] [code=xml]chown: changing ownership of `/mnt/data/hello.txt': Operation not permitted[/code] =( Uhh...sooo any advice? Thanks BTW.
Back to top Profile Email Website
Glock24
Joined Aug 31, 2008
Posts: 42

Other Topics
Posted: Oct 07, 2008 4:00:46 PM
Subject: [HELP!] chown/chmod NFS files
Maybe this helps: http://tldp.org/HOWTO/NFS-HOWTO/troubleshooting.html#SYMPTOM4
Back to top Profile Email Website
Peter
Joined May 16, 2008
Posts: 43
Location:Mexico

Other Topics
Posted: Oct 08, 2008 5:33:33 PM
Subject: [HELP!] chown/chmod NFS files
Wow, that was totally wicked! Anyway, i post here the solution if anyone ever wants to know: Just add the [b]no_root_squash[/b] option in the[b] /etc/exports[/b] on the server machine. Although inadvisable, it works. ;) Thanks for your help. [Modified by: Peter on October 08, 2008 05:41 PM]
Back to top Profile Email Website
Glock24
Joined Aug 31, 2008
Posts: 42

Other Topics
Posted: Oct 09, 2008 4:36:21 AM
Subject: [HELP!] chown/chmod NFS files
Glad to hear you solved it.
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya