BSD tar cannot archive files with setuid bit on -CURRENT

From: Joe Marcus Clarke <marcus_at_FreeBSD.org>
Date: Thu, 11 Nov 2004 15:21:57 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After upgrading to 6-CURRENT from November 10, I found bsdtar cannot
archive files with setuid bits anymore.  When creating my archive, I see
this:

a bin/kenv
a bin/kill
a bin/ln
a bin/link
a bin/ls
a bin/mkdir
a bin/mv
a bin/pax
a bin/ps
a bin/pwd
a bin/rcp: (null)

Then the archive stops dead (exit value is 1).  The same problem occurs
for all setuid files.  bsdtar from October 14 is fine.  I am trying to
create the archive as root.

This problem can be reproduced by:

# cd /tmp
# tar cvf xxx.tar /bin/rcp

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome_at_FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBk8nlb2iPiv4Uz4cRAqgMAJ9erbkZIo3LckKRsKsM21G0gzWuJQCfX61y
rMyo/jdX8PLQpO5Ro9AQ1tE=
=Qivi
-----END PGP SIGNATURE-----
Received on Thu Nov 11 2004 - 19:21:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC