- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Odd NFS Permissions problem
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
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
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
10-15-2008 12:20 PM
10-15-2008 12:20 PM
The client can mount it with fine and can use it as long as the user on the client matches the user on the server. The exported file system is set to 755 per company policy.
On the client side root can't even write into the mount point. Is there another switch I need besides -rw?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 12:42 PM
10-15-2008 12:42 PM
Re: Odd NFS Permissions problem
IT would be helfpul to see a few things:
/etc/exports
Errors showing up in /var/adm/syslog/syslog.log
You are having a problem consistent with not having a NIS or LDAP master server controlling user id's numeric values and keeping them consistent.
If a user has id 445 on one system and 448 on a another this can cause NFS chaos.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 12:52 PM
10-15-2008 12:52 PM
Solution/etc/dfs/dfstab is the new /etc/exports.
"rw" means rw for those listed and ro for everyone else.
You need to set access=
- and then root=
- to allow only rw access to the list and root access to the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 12:57 PM
10-15-2008 12:57 PM
Re: Odd NFS Permissions problem
If I run "share" or "exportfs -v" I see my exported file systems are "rw" on the nfs server. I can't find any problems in the syslog file.
The key is to set the mounted directory to "777" If I set it to 755 root on the client side can't touch a file. In a nutshell I am looking for an export switch that will allow root on the client to rw without having to set the directory to 777.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 01:04 PM
10-15-2008 01:04 PM
Re: Odd NFS Permissions problem
Unless I am misunderstanding something, by default root does not have permissions to NFS dirs unless you export it, new term, share it, using the root= option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 01:24 PM
10-15-2008 01:24 PM
Re: Odd NFS Permissions problem
As Tim said, you have mounted it with the default, root is less than dirt option. Root is anon, typically -2.
anon can read but but not modify the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 02:54 PM
10-15-2008 02:54 PM
Re: Odd NFS Permissions problem
I modified my hanfs script to use the "root" option and the HA package exports the mount point properly.
Thanks all for your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 02:56 PM
10-15-2008 02:56 PM