- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: tar premission denied
Operating System - Tru64 Unix
1753905
Members
9784
Online
108810
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
01-03-2008 03:49 AM
01-03-2008 03:49 AM
Solution
Hi again fortheppl,
The permission problem can be overcome by excuting the extraction as root.
If you do not want the files to be restored with absolute path, extract them like this:
(Assuming the two files are the same directory.)
Cd to the directory where the files are located
$ tar -cvf /dev/tape/tape14c ./IN_CDRP_46_1-17_CT_SEP2007.dmp.gz ./IN_CDRP_46_1-17_CT_SEP2007.log
On the target machine:
Cd to the directory where the files should be put
As user=root
$ tar -xvf dev/tape/tape14c ./IN_CDRP_46_1-17_CT_SEP2007.dmp.gz ./IN_CDRP_46_1-17_CT_SEP2007.log
This also assume that the tape devices are identical on both machines.
Regards,
John K.
The permission problem can be overcome by excuting the extraction as root.
If you do not want the files to be restored with absolute path, extract them like this:
(Assuming the two files are the same directory.)
Cd to the directory where the files are located
$ tar -cvf /dev/tape/tape14c ./IN_CDRP_46_1-17_CT_SEP2007.dmp.gz ./IN_CDRP_46_1-17_CT_SEP2007.log
On the target machine:
Cd to the directory where the files should be put
As user=root
$ tar -xvf dev/tape/tape14c ./IN_CDRP_46_1-17_CT_SEP2007.dmp.gz ./IN_CDRP_46_1-17_CT_SEP2007.log
This also assume that the tape devices are identical on both machines.
Regards,
John K.
it would be nice if you always got a second chance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 04:30 AM
01-03-2008 04:30 AM
Re: tar premission denied
Dear John
Its working from root user.
thanks a lot for every one who helped me out in this activity
Its working from root user.
thanks a lot for every one who helped me out in this activity
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP