GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpio command gives chmod error
Operating System - HP-UX
1863013
Members
1632
Online
110446
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
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
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
08-27-2004 01:22 AM
08-27-2004 01:22 AM
cpio command gives chmod error
hi,
I am backing up an entire directory onto tape
using
find $files -print | cpio -ov > /dev/rmt/1m
(which works fine)
when I try to recover the files from tape using
cpio -ivdumx < /dev/rmt/1m
I get the error
Cannot chmod (errno:1)
Any ideas ?Is there a switch which enables chmod or is there a switch to disable it?
thanks
I am backing up an entire directory onto tape
using
find $files -print | cpio -ov > /dev/rmt/1m
(which works fine)
when I try to recover the files from tape using
cpio -ivdumx < /dev/rmt/1m
I get the error
Cannot chmod (errno:1)
Any ideas ?Is there a switch which enables chmod or is there a switch to disable it?
thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 02:05 AM
08-27-2004 02:05 AM
Re: cpio command gives chmod error
If you are not root nor the owner of the files, then you would get that error.
Or maybe if the files already exist on the disk system and they already have ACLs.
HTH
-- Rod Hills
Or maybe if the files already exist on the disk system and they already have ACLs.
HTH
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 02:45 AM
08-27-2004 02:45 AM
Re: cpio command gives chmod error
Hi
Certainly a permission problem.
I assume you are root thus something else
Is it by chance an nfs directory
Then on server use
sam
networking and communications
networked file systems
exported local file systems.
Using this menu, we
specify:
- Used UID of User 'nobody' (default)
- Allow Asynchronous Writes: No
- Specify Root User Access ...
This could be wrong.You need to specify the host name (target)...
- option is needed for cpio to work on nfs
Steve Steel
Certainly a permission problem.
I assume you are root thus something else
Is it by chance an nfs directory
Then on server use
sam
networking and communications
networked file systems
exported local file systems.
Using this menu, we
specify:
- Used UID of User 'nobody' (default)
- Allow Asynchronous Writes: No
- Specify Root User Access ...
This could be wrong.You need to specify the host name (target)...
- option is needed for cpio to work on nfs
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
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
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP