root+tar's '--same-owner --preserve' options

marty marty at goodoldmarty.com
Sun Mar 9 23:53:54 PDT 2008


> The patch is on extract.c. It comments out the check done to see if geteuid is 
> root, which automatically enables the options to preserve permissions when 
> extracting files. Everything else works normally. How tarballs are created is 
> unaffected.
> 
It looks like you are saying you just broke Amanda, and a lot of other programs
and scripts that normally run as root, and expect permissions to be restored.
Wow, that would be fun to watch, but please count me out of that action.

Marty B.
-- 
A better mousetrap results in better mice. C. Darwin.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20080310/99cc622b/attachment.sig>


More information about the hlfs-dev mailing list