From owner-freebsd-current@FreeBSD.ORG Thu Nov 11 20:21:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B9E16A4CE for ; Thu, 11 Nov 2004 20:21:57 +0000 (GMT) Received: from rooster.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDA9C43D2D for ; Thu, 11 Nov 2004 20:21:56 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from [64.102.194.190] (dhcp-64-102-194-190.cisco.com [64.102.194.190]) by rooster.cisco.com (8.11.7+Sun/8.8.8) with ESMTP id iABKLue13595 for ; Thu, 11 Nov 2004 15:21:56 -0500 (EST) Message-ID: <4193C9E5.2090004@FreeBSD.org> Date: Thu, 11 Nov 2004 15:21:57 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@FreeBSD.org X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BSD tar cannot archive files with setuid bit on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 20:21:57 -0000 -----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-----