BSD tar cannot archive files with setuid bit on -CURRENT

Tim Kientzle kientzle at freebsd.org
Sun Nov 14 17:29:53 PST 2004


Joe Marcus Clarke wrote:
> 
> After upgrading to 6-CURRENT from November 10, I found bsdtar cannot
> archive files with setuid bits anymore.
....
> 
> This problem can be reproduced by:
> 
> # cd /tmp
> # tar cvf xxx.tar /bin/rcp

This is now fixed.  (The problem was actually
with the schg flag, not the setuid bit.  Forcing
ustar format with --format=ustar is a workaround.)

Thanks for the report,

Tim



More information about the freebsd-current mailing list