HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Export
Operating System - HP-UX
1828047
Members
1572
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-29-2007 12:47 AM
06-29-2007 12:47 AM
NFS Export
Hi,
I have exported a file system over NFS. The '/etc/exports' reads like this.
I could mount this and read the contents on any of my HP UNIX systems. I presumed that since I didn't specify any option, it should be exported with RW permissions to eveyone. It was not the case so. Even a root user from other systems couldn't touch a file in this exported FS. Can anyone tell me why was it so ?
I then added this entry in the 'exports' file
This didn't work either.
Finally, I changed it like this.
It worked.
Questions for you.
1) Why was I unable to write to this directory in the first 2 cases ?
2) The UID which owns this file system does not exist on the NFS client systems. Then I reasoned that, if I made an '-anon=UID' entry, it will give owner permissions to it all. Even this didn't work . Why so ?
3) Can any user mount NFS file systems ?
T&R
Doug
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 02:56 PM
06-29-2007 02:56 PM
Re: NFS Export
>
(You mean directory. No folders on UNIX ;-)
>it should be exported with RW permissions to eveyone.
That's RW to users that fit the normal file permissions of User Group Other or ACLs.
>Even a root user from other systems couldn't touch a file in this exported FS.
A root user over NFS has even less permissions than a normal user. They are normally treated as the user "nobody". To fix this, you need root= as you found out.
>2) The UID which owns this file system does not exist on the NFS client systems.
Then you need to have the permissions under Other to allow it.
>3) Can any user mount NFS file systems?
Only root can mount it. You may be able to allow SAM to give this permission to other users.
If you meant can any system mount it, you can restrict it by listing machine names in /etc/exports
(You mean directory. No folders on UNIX ;-)
>it should be exported with RW permissions to eveyone.
That's RW to users that fit the normal file permissions of User Group Other or ACLs.
>Even a root user from other systems couldn't touch a file in this exported FS.
A root user over NFS has even less permissions than a normal user. They are normally treated as the user "nobody". To fix this, you need root= as you found out.
>2) The UID which owns this file system does not exist on the NFS client systems.
Then you need to have the permissions under Other to allow it.
>3) Can any user mount NFS file systems?
Only root can mount it. You may be able to allow SAM to give this permission to other users.
If you meant can any system mount it, you can restrict it by listing machine names in /etc/exports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 02:13 AM
07-02-2007 02:13 AM
Re: NFS Export
Hi,
> 3) Can any user mount NFS file systems ?
Having setup automount, any command trying to access soemthing of this NFS-export will trigger the automount-process (which is running with UID root) to mount this filesystem.
After an inactivity timeout it gets umounted.
See 'man automount'.
mfG Peter
> 3) Can any user mount NFS file systems ?
Having setup automount, any command trying to access soemthing of this NFS-export will trigger the automount-process (which is running with UID root) to mount this filesystem.
After an inactivity timeout it gets umounted.
See 'man automount'.
mfG Peter
The Universe is a pretty big place,
it's bigger than anything anyone has ever dreamed of before.
So if it's just us, seems like an awful waste of space, right?
Jodie Foster in "Contact"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 02:37 PM
07-09-2007 02:37 PM
Re: NFS Export
Many Tanks for your replies.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP