LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   onwership change (https://www.linuxquestions.org/questions/linux-software-2/onwership-change-691114/)

sherimm 12-16-2008 11:50 PM

onwership change
 
Hi

When i am trying to change the onwership of a nfs mount it is giving invalid group error

[root@ghxpapp ~]# mount -t nfs ghxpdb.ghx.com:/u01/app/oraghxfinp/product/9.2.0/admin/GHXFINP_ghxfinpdb/ptmp /u01/app/oraghxfinp/product/9.2.0/admin/GHXFINP_ghxfinpdb/ptmp

[root@ghxpapp ~]# chown appghxfinp:oraghxfinp /u01/app/oraghxfinp/product/9.2.0/admin/GHXFINP_ghxfinpdb/ptmp/
chown: `appghxfinp:oraghxfinp': invalid group
[root@ghxpapp ~]#


Could you please help me in this

thanks
Murali

eco 12-17-2008 04:29 AM

hi sherimm,

It's been a while but I don't think you can change permissions on a mounted NFS partition.

Permissions are granted from the NFS server, the client is or is not granted access. No client, not even under root, can change the file permissions. This is, I believe, for security reasons.

Hope this helps.
-eco

kenneho 12-17-2008 05:21 AM

I agree with eco, although it is possible that both of us are wrong. :)

Why do you wish to change ownership in the first place?

Hern_28 12-17-2008 05:33 AM

Or.
 
Are you trying to allow regular users work with the drive. If so might set 'user' in fstab.


All times are GMT -5. The time now is 02:24 PM.