Date: Thu, 01 Aug 2002 20:34:45 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Bakul Shah <bakul@bitblocks.com> Cc: Bruce Evans <bde@zeta.org.au>, current@FreeBSD.org, obrien@FreeBSD.org Subject: Re: pkg_add broken by POLA breakage in tar Message-ID: <3D497135.92A17316@FreeBSD.org> References: <200208011724.NAA24837@repulse.cnchost.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D497135.92A17316>