- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- failed to preserve ownership operation not permitt...
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
тАО11-25-2008 09:08 PM
тАО11-25-2008 09:08 PM
failed to preserve ownership operation not permitted.
#So while moving zipped files to the backup directory i am getting some error like this
error:mv:failed to preserve ownership /net/ts--bcn/sb_backup/sand operation not permitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2008 10:01 PM
тАО11-25-2008 10:01 PM
Re: failed to preserve ownership operation not permitted.
This is a HP forum so better ask only HP related questions.
For your script check with proper permission is there or not to zipping those files.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 12:44 AM
тАО11-26-2008 12:44 AM
Re: failed to preserve ownership operation not permitted.
Even if you are running the script as root on the local host, your root privileges may not apply to NFS-mounted directories: normally the NFS server maps the root user of the NFS client machine to "nobody" or "nfsnobody" user, which has no privileges at all.
When your script is moving the file to the NFS-mounted directory, the file ownership will change. At the end of the move operation, the mv command will attempt to set the ownership and permissions back to the original values - but setting the ownership fails because the NFS server won't allow the "nfsnobody" to do that.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:31 AM
тАО11-26-2008 01:31 AM
Re: failed to preserve ownership operation not permitted.
Is there any other way to prevent that error while moving zipped files to the /net directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:33 AM
тАО11-26-2008 01:33 AM
Re: failed to preserve ownership operation not permitted.
By exporting with root as root option: root=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 01:42 AM
тАО11-26-2008 01:42 AM
Re: failed to preserve ownership operation not permitted.
# F.own G.own file name
for ex: rajiv users ras_record.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 02:01 AM
тАО11-26-2008 02:01 AM
Re: failed to preserve ownership operation not permitted.
The user that is running the backup script?
Does that user/group exist on the NFS server?
You may just want to give this up and tar the zipped file. That way it remembers the original owner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 02:22 AM
тАО11-26-2008 02:22 AM
Re: failed to preserve ownership operation not permitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2008 02:22 AM
тАО11-26-2008 02:22 AM
Re: failed to preserve ownership operation not permitted.
I strongly agree with "Dennis" reply , had some experience , like this before "after Creating "User & group" on the NFS Server ,
file's carried their approperiate "Owner & rights"
must recommended action would be (create user & group on the NFS Server,
)
Thanks,
Johnson