Operating System - HP-UX
1752761 Members
5165 Online
108789 Solutions
New Discussion юеВ

Re: change file permission on nfs mount point

 
Viktor Balogh
Honored Contributor

Re: change file permission on nfs mount point

the previous "root" option is not safe, perhaps you should just "su" to another user on ux2 and this way you can chmod the required files. (a normal user is only allowed to set the permissions of his/her own files)
****
Unix operates with beer.
blu.karthi
Advisor

Re: change file permission on nfs mount point

I am loging in as root only on ux2. on ux1 is exported as

on ux1
#cat /etc/exports
/foldername -anon=65534,async

on ux2
when i am using the command on nfsmounted folder. iam geting error
#chown 777 /nfsmount
chmod: can't change nfsmount: Not owner

Dennis Handly
Acclaimed Contributor

Re: change file permission on nfs mount point

>I am logging in as root only on ux2. On ux1 is exported as: /dirname -anon=65534,async

As Viktor said, you have exported /nfsmount with the "root is less than dirt" option.

root can't do anything at all on that filesystem unless you allow everyone (other) to write, or initially root (as dirt), created the files and directories.

Of course root can do "su" to the owner of every file on that filesystem.