[HELP!] chown/chmod NFS files
Author Message
Posted : Mon, 06 October 2008 19:33:11
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.
Glock24
Posted : Tue, 07 October 2008 16:00:46
Subject : [HELP!] chown/chmod NFS files
Maybe this helps: http://tldp.org/HOWTO/NFS-HOWTO/troubleshooting.html#SYMPTOM4
Peter
Posted : Wed, 08 October 2008 17:33:33
Subject : Re: Re: Re: [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]
Glock24
Posted : Thu, 09 October 2008 04:36:21
Subject : Re: [HELP!] chown/chmod NFS files
Glad to hear you solved it.