Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 15:21:57 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   BSD tar cannot archive files with setuid bit on -CURRENT
Message-ID:  <4193C9E5.2090004@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----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@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4193C9E5.2090004>