Re: how to extract tar archive with r-xr-xr-x perms on .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 01, 2006 at 06:53:55PM -0600, Charles Curley wrote:
> On Tue, Aug 01, 2006 at 04:22:47PM -0400, Chuck Anderson wrote:
> > Please Cc: me on any replies.  Thanks.
> > 
> > I have a tar archive that someone managed to create with no-readable 
> > directories in it, including '.'
> > 
> > dr-xr-xr-x user/group      0 2006-06-22 20:44 ./
>
> I suspect there's the problem. Tar "restores" ., changing its
> permissions as it goes.

Thanks for the suggestions.  I managed to get this extracted using pax 
instead of tar:

gzip -dc file.tar.gz | pax -r

I would have thought either of the GNU tar options --no-recursive or 
--no-same-permissions would have worked, but I guess not. Seems to me 
that GNU tar is b0rked either in design or implementation, because the 
contents of the archive shouldn't affect the ability to extract it.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux