Date: 09 Aug 1999 06:48:28 +0200 From: Slawek Zak <zaks@prioris.im.pw.edu.pl> To: freebsd-security@FreeBSD.ORG Subject: Re: Extracted files' permissions Message-ID: <871zddk19f.fsf@prioris.im.pw.edu.pl> In-Reply-To: Andrew McNaughton's message of "Mon, 09 Aug 1999 02:18:17 %2B1200" References: <199908081418.CAA02037@aniwa.scoop.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
** Andrew McNaughton <andrew@squiz.co.nz> wrote:
Andrew> Not a bug, but perhaps a missing feature? Is there a
Andrew> workable scheme whereby ownership and permissions get set
Andrew> to something safe by the standard ports make process
Andrew> unless a flag is set by the port specific makefile?
Andrew> It might be that setting that flag becomes common to a
Andrew> high proportion of flags, but at least it would mean that
Andrew> the port's author had looked at the issue.
Andrew> Any such scheme would have plenty of repercussions and
Andrew> would need to be thought through.
Not quite so. Extraction of archives is mostly done using tar. If
there was an option for tar, like --no-preserve-owner in GNU tar, the
task of having one owner for extracted files would be feasible. The
method for files' extraction is defined in bsd.port.mk, and can be
changed for the whole distribution when tar acquires such
fuctionality.
--
* Suavek Zak (Altkom UNIX Group) #include <std/disclaimer.h>
* email: S.Zak@altkom.com voice: +48 (0) 22 674 66 79
* PGP v2.6: 2048/9A7CBF71, finger://zaks@prioris.im.pw.edu.pl
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?871zddk19f.fsf>
