BSD tar cannot archive files with setuid bit on -CURRENT
Joe Marcus Clarke
marcus at FreeBSD.org
Thu Nov 11 12:21:57 PST 2004
-----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-----
More information about the freebsd-current
mailing list