root can't execute chown on NFS mountpoint

  • Follow


Hi group,

today I was made aware of one of my Solaris 9 machines behaving
somewhat strangely. A local directory which serves as NFS mountpoint
does not let root execute chown:

|    # ls -l
|    drwxrwxrwx   3 root     root        4096 Oct 13 09:38 GNE
|    # chown oracle:dba GNE
|    chown: GNE: Not owner
|    #

Unfortunately I can't umount that share at the moment because the
database thereon can't be shut down before next week (I was hoping
that if the NFS mount was gone, the chown would work).

Is this the regular behavior of a NFS mountpoint? Or am I missing some
other detail which would explain this?


Mark

-- 
Ich bin ein freier Mensch und werde jetzt von meinen Freiheitsrechten
Gebrauch machen - und zwar ausgiebig - nat�rlich nur in dem Rahmen, den
Otto Schily mir noch zur Verf�gung stellt.     -- Wolfgang Clement
0
Reply Mark 11/11/2005 10:42:25 AM

Mark Neis wrote:
> Hi group,
> 
> today I was made aware of one of my Solaris 9 machines behaving
> somewhat strangely. A local directory which serves as NFS mountpoint
> does not let root execute chown:
> 
> |    # ls -l
> |    drwxrwxrwx   3 root     root        4096 Oct 13 09:38 GNE
> |    # chown oracle:dba GNE
> |    chown: GNE: Not owner
> |    #
> 
> Unfortunately I can't umount that share at the moment because the
> database thereon can't be shut down before next week (I was hoping
> that if the NFS mount was gone, the chown would work).
> 
> Is this the regular behavior of a NFS mountpoint? Or am I missing some
> other detail which would explain this?
> 
> 
> Mark
> 

the directory where you mount a share get the ownership an permissions
of the shared directory. So you are actually trying to change the owner
of the exported directory.

You have two choices. Either you change your share options to allow
root operation on the client (i.e. share -F nfs -o root=myclient
/export/mydir) or you change the owner and group on the NFS server
directly.

HTH,
Tom
0
Reply Thomas 11/11/2005 11:26:16 AM


1 Replies
1737 Views

(page loaded in 0.028 seconds)

Similiar Articles:













7/20/2012 4:05:38 PM


Reply: