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, 2006-08-01 at 23:05 -0400, Chuck Anderson wrote:
> 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.
> 
Maybe they used pax to create it and from habit named it with a .tar
name.  I have caught myself using confusing names when switching between
tools like tar and pax.

The file command should help with identifying that problem if you need
to look at the structure to know what tool to use. 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux