- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change file permission on nfs mount point
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2009 11:57 PM
тАО08-21-2009 11:57 PM
change file permission on nfs mount point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 12:32 AM
тАО08-22-2009 12:32 AM
Re: change file permission on nfs mount point
With which permission you have exported and which permission you need to set?
Is there any restriction for the user?
From which Machine you would like to change it?
The maximun you can have is the exported permission.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 12:55 AM
тАО08-22-2009 12:55 AM
Re: change file permission on nfs mount point
otherwise change the permission in nfs server and export it to client.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 01:41 AM
тАО08-22-2009 01:41 AM
Re: change file permission on nfs mount point
Keept it simple..
Do you have root access on the UX1 server ?If yes try changing the permissions..
If you are not able to do so , pls check the bdf o/p or /etc/mnttab and post here..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 11:43 AM
тАО08-22-2009 11:43 AM
Re: change file permission on nfs mount point
for example the following is for read write access; (ux1 server must be nfs server)
ux1:/nfs/xyz /nfs/xyz nfs rw,suid 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 11:48 AM
тАО08-22-2009 11:48 AM
Re: change file permission on nfs mount point
ux1# showmount -e
export list for ux1:
/var/opt/ignite/recovery/archives/user1 user1
/nfs/xyz (everyone)
xyz read write accessible for everyone or an user specified.
then issue the command:
exportfs ├в v /nfs/xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2009 11:49 AM
тАО08-22-2009 11:49 AM
Re: change file permission on nfs mount point
then issue the command:
exportfs -├В ├В v /nfs/xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2009 02:44 AM
тАО08-23-2009 02:44 AM
Re: change file permission on nfs mount point
That's /etc/exports. And what is already exported is in /etc/xtab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2009 04:10 AM
тАО08-23-2009 04:10 AM
Re: change file permission on nfs mount point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 03:04 AM
тАО08-24-2009 03:04 AM
Re: change file permission on nfs mount point
To keep the root permissions on the remote server you could use the following with the exportfs command:
# exportfs -o root=hostname1[:hostname2]... /share
see man 1m exportfs
and man 4 exports (for setting exports permanently)
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 03:06 AM
тАО08-24-2009 03:06 AM
Re: change file permission on nfs mount point
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 05:05 AM
тАО08-24-2009 05:05 AM
Re: change file permission on nfs mount point
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 07:26 PM
тАО08-24-2009 07:26 PM
Re: change file permission on nfs mount point
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.