Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] updating baselayout PERMS_PROTECT
Date: Mon, 23 Mar 2009 14:25:46
Message-Id: 20090323142533.03fc12d6@snowcone
In Reply to: [gentoo-dev] updating baselayout PERMS_PROTECT by Caleb Cushing
1 On Sun, 22 Mar 2009 23:53:23 -0400
2 Caleb Cushing <xenoterracide@×××××.com> wrote:
3 > of course this leads to the problem... what if the 'admin' explicitly
4 > changed the permissions... Maybe we should have something like
5 > PERMS_PROTECT (similar to config_protect). where portage won't update
6 > the permissions if file/directory is protected.
7
8 The package manager shouldn't be messing with permissions on existing
9 directories at all (directories are a shared resource). If you want to
10 change permissions on an existing directory, do it in pkg_preinst.
11
12 --
13 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature