Operating System - HP-UX
1842016 Members
5028 Online
110185 Solutions
New Discussion

Re: Cannot chmod files in an NFS filesystem

 
SOLVED
Go to solution
Preet Dhillon
Advisor

Cannot chmod files in an NFS filesystem

Dear Colleagues,

I have a filesystem exported from a Windows NT server with full read/write permissions. This is mounted via NFS on an HP-UX 10.20 system. Some files appear on the Unix side with permission set as follows :
----rwxrwx

If I log in as root and do a chmod 777 on the files, the permissions stay as they are i.e. ----rwxrwx! No errors are reported. Does anyone know why I cannot chmod these files even as root ?

Many thanks and regards,
Preet
Nothing succeeds like excess
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: Cannot chmod files in an NFS filesystem

Preet,

I suspect that an NT server will behave the same as my Novell server in that it doesn't recognize root privileges across NFS.

Pete

Pete
Shahul
Esteemed Contributor

Re: Cannot chmod files in an NFS filesystem

Hi

Can U please login as some other user and see.. What is the permission.

Normally in NFS, U will have to add an entry for root while exporting.. I am not very sure how in case of an NT BOX.. Wait for export's answers..

Best of luck
Shahul
Jeff Schussele
Honored Contributor

Re: Cannot chmod files in an NFS filesystem

Hi Preet,

You say they show 077 perms...but what ownership, user/group, do they show?
May have to add root to the group indicated in the ownership to change the perms.
You also to to verify w/the NT admins whether these files were exported read-only.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: Cannot chmod files in an NFS filesystem

If after you verify the files are not read-only, then I would also check the NT-side perms on them to insure that the Administrator user on the NT side has "Full-control" perms.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!