Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

tar premission denied

fortheppl
Occasional Contributor

tar premission denied

hi
when im trying to extract data from tape(HP DDS-3) im getting an error
tar: : permission Deneid

the command which i gave to extract is
tar -xvf

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
1 REPLY
Ivan Ferreira
Honored Contributor

Re: tar premission denied

>>> tar: : permission Denied

In this case, the user has no permission.


>>> when i tried from root user it is extracting to root mountpoint.

I don't know the command used to take the backup, or the list of files, but probably was taken with relative path names, so if you want to extract to another location, you can first "cd" to the destination directory or use the "s" option with tar.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?