From owner-freebsd-current Thu Aug 1 10:35: 2 2002 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 AEEB637B400; Thu, 1 Aug 2002 10:34:56 -0700 (PDT) Received: from rabbit.netstyle.com.ua (rabbit.netstyle.com.ua [193.193.194.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FEE143E42; Thu, 1 Aug 2002 10:34:54 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (root@[195.5.51.243]) by rabbit.netstyle.com.ua (8.12.5/8.12.5) with ESMTP id g71HYIHO010262; Thu, 1 Aug 2002 20:34:20 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.12.5/8.11.3) with ESMTP id g71HYLTt005768; Thu, 1 Aug 2002 20:34:21 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3D497135.92A17316@FreeBSD.org> Date: Thu, 01 Aug 2002 20:34:45 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Bakul Shah Cc: Bruce Evans , current@FreeBSD.org, obrien@FreeBSD.org Subject: Re: pkg_add broken by POLA breakage in tar References: <200208011724.NAA24837@repulse.cnchost.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bakul Shah wrote: > > My recollection matches what Bruce says (and I have been > using unix since when version 7 was the latest and greatest). > At least the SUN OS 5.6 man page I could locate online says > this: > > The o function modifier is only valid with the x function. p > Restore the named files to their original modes, and ACLs if > applicable, ignoring the present umask(1). This is the > default behavior if invoked as super-user with the x > function letter specified. If super-user, SETUID and sticky > information are also extracted, and files are restored with > their original owners and permissions, rather than owned > by root. > > This superuser behavior is what allows one to use tar as an > archiving program. Well, OK, now I am really confused. So what should we be bound to? To the POLA (old GNU tar in 4.6-release and downward was not fully preserving permissions unless -p is specified, even when invoked by root)? Or to what other systems do? Bruce, what do you think? -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message