On Fri, Jun 17, 2005 at 11:32:49AM +0200, nodata wrote:
> I have a gzipped tar archive in /tmp/test/
>
> $ tar ztvf file.tgz | head -1
> dr-xr-xr-x root/sys 0 2004-04-19 15:15:15 ./
>
> I'm not running as root. I run an extract:
>
> $ tar zxvf file.tgz
> ./
> somedir/
> tar: somedir: Ca
> nodata wrote:
>
>> Any way around this using tar (without changing users etc)?
>
> the --no-same-permissions argument may be useful.
>
Unfortunately it doesn't seem to work..
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
nodata wrote:
Any way around this using tar (without changing users etc)?
the --no-same-permissions argument may be useful.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
I have a gzipped tar archive in /tmp/test/
$ tar ztvf file.tgz | head -1
dr-xr-xr-x root/sys 0 2004-04-19 15:15:15 ./
I'm not running as root. I run an extract:
$ tar zxvf file.tgz
./
somedir/
tar: somedir: Cannot mkdir: Permission denied
somedir/somedir/
tar: somedir/somedir: Cannot mk
4 matches
Mail list logo