- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CHOWN 11.00 FAILS OVER NFS 11.31
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
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
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
тАО07-28-2008 05:48 AM
тАО07-28-2008 05:48 AM
CHOWN 11.00 FAILS OVER NFS 11.31
I have an NFS exported on an 11.31 server. This NFS is mounted on an 11.0 server. Both sides haver read/write access, but a "chown" comand fails with "
Thank you for you help!.
Chao.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 06:15 AM
тАО07-28-2008 06:15 AM
Re: CHOWN 11.00 FAILS OVER NFS 11.31
If the share is a root-owned directory and you want root to have privileges on the nfs client side, you will need to export it as such: root=
HTH
-paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 06:30 AM
тАО07-28-2008 06:30 AM
Re: CHOWN 11.00 FAILS OVER NFS 11.31
If not root, does that user have chown permission on the server? See setprivgrp(1M).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 06:42 AM
тАО07-28-2008 06:42 AM
Re: CHOWN 11.00 FAILS OVER NFS 11.31
Source server (11.31):
# more /etc/dfs/sharetab
/aixlis - nfs rw
# ls -ld /aixlis
drwxrwxrwx 4 tronweb usuarios 5120 Jul 25 15:41 /aixlis
# grep tronweb /etc/passwd
tronweb:G7xrai6lw9/QQ:203:200:,,,:/opt/tronweb:/usr/bin/sh
# uname -a
HP-UX mls02-ne B.11.31 U ia64 ******* unlimited-user license
#
Target server (11.11):
# ls -ld /mls02newaixlis
drwxrwxrwx 4 tronweb usuarios 5120 Jul 25 15:41 /mls02newaixlis
#
# more /etc/dfs/sharetab
/etc/dfs/sharetab: No such file or directory
# ls -ld /aixlis
/aixlis not found
# grep aixlis /etc/fstab
mls02pri:/aixlis /mls02newaixlis nfs rw,suid 0 0
# ls -ld /mls02newaixlis
drwxrwxrwx 4 tronweb usuarios 5120 Jul 25 15:41 /mls02newaixlis
# grep tronweb /etc/passwd
tronweb:G7xrai6lw9/QQ:203:200:,,,:/opt/tronweb:/usr/bin/sh
# uname -a
HP-UX mls06 B.11.11 U 9000/800 ***** unlimited-user license
#
The owner is the same (even the UID & GID).
Also, logged as root on the target system, Iam unable to made the chown command.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 07:03 AM
тАО07-28-2008 07:03 AM
Re: CHOWN 11.00 FAILS OVER NFS 11.31
You mean client.
>The owner is the same (even the UID & GID).
The owner is the same only if the UID is the same.
>logged as root on the target system, I am unable to made the chown command.
Of course not, you have exported root as nobody. If you want root as root, you must export the file system with root=access_list:
http://docs.hp.com/en/B2355-60130/share_nfs.1M.html
That's why I asked if you tried using chown as tronweb. Of course root can always su to tronweb and do the chown.