tar's on DragonFly

Jordan Gordeev jgordeev at dir.bg
Tue Mar 24 00:55:44 PDT 2009


Hasso Tepper wrote:

For some unknown reason both libarchive tar and gtar are broken on 
DragonFly - they are preserving permissions of extracted files (like in 
case of -p) if executed by root.

It doesn't seem to affect a lot of cases (you rarely run tar as root etc), 
but breaks hell a lot of pkgsrc packages.

 

Solaris 10 has this exact behaviour - running 'tar' as root implies '-p'.
AFAIK 'tar' is not standardized, so packages that rely on tar being GNU 
tar or some such are themselves broken.






More information about the Kernel mailing list