![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh permission denied | gefa | AIX | 3 | 1 Day Ago 07:52 AM |
| file premission | sonali | UNIX for Dummies Questions & Answers | 1 | 10-19-2006 03:13 AM |
| Permission Denied | howeezy | UNIX for Dummies Questions & Answers | 0 | 09-14-2005 06:52 AM |
| tar : permission denied | big123456 | UNIX for Advanced & Expert Users | 0 | 09-09-2005 01:32 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
tar premission denied
hi
when im trying to extract data from tape(HP DDS-3) im getting an error tar:<FILE-NAME> : permission Deneid the command which i gave to extract is tar -xvf <DEV_LOCATION> <FILE_NAME> i took the backup in to tape from one server and trying to extract it in to another server. im struggling with this error from last 3 days.. plz help me out o/s TRU64 ALPHA(1.5A)--The One Which im extracting TRU64 ALPHA(1.5B)--The One Which i took the backup to tape. when i tried from root user it is extracting to root mountpoint. plz gimme the solution |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
As root, just untar the file to /tmp or other suitable location using the s option, move it to the desired location and (re)set its permissions.
From the Tru64 UNIX manpage for tar: Code:
s [Tru64 UNIX] Tells tar to strip off any leading slashes from pathnames
during extraction. This is useful when restoring a tape that was
created on a system with a different file system structure.
|
|
#3
|
|||
|
|||
|
tried with option 's' ,but getting the same error.
in root mount point we are not having enough space. i gave this command tar -xvf /dev/tape/tape14c IN_CDRP_46_1-17_CT_SEP2007.dmp.gz s /backup4 getting the same error |
|
#4
|
||||
|
||||
|
Hi,
try pax if you have it Code:
pax -rvs '#/##' < /dev/tape/tape14c |
|
#5
|
|||
|
|||
|
Quote:
another filesystem with enough space before you can untar the file you want. |
|||
| Google The UNIX and Linux Forums |