public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] updating baselayout PERMS_PROTECT
@ 2009-03-23  3:53 Caleb Cushing
  2009-03-23 14:25 ` Ciaran McCreesh
  0 siblings, 1 reply; 2+ messages in thread
From: Caleb Cushing @ 2009-03-23  3:53 UTC (permalink / raw
  To: gentoo-dev

so from what I can see there doesn't appear to be any 'official' way
of adding new directories, updating perms and the like in baselayout.

my thought is someone who does an emerge -aveD world's system should
for the most part be reset to 'factory' defaults.

of course this leads to the problem... what if the 'admin' explicitly
changed the permissions... Maybe we should have something like
PERMS_PROTECT (similar to config_protect). where portage won't update
the permissions if file/directory is protected.
-- 
Caleb Cushing

http://xenoterracide.blogspot.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] updating baselayout PERMS_PROTECT
  2009-03-23  3:53 [gentoo-dev] updating baselayout PERMS_PROTECT Caleb Cushing
@ 2009-03-23 14:25 ` Ciaran McCreesh
  0 siblings, 0 replies; 2+ messages in thread
From: Ciaran McCreesh @ 2009-03-23 14:25 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On Sun, 22 Mar 2009 23:53:23 -0400
Caleb Cushing <xenoterracide@gmail.com> wrote:
> of course this leads to the problem... what if the 'admin' explicitly
> changed the permissions... Maybe we should have something like
> PERMS_PROTECT (similar to config_protect). where portage won't update
> the permissions if file/directory is protected.

The package manager shouldn't be messing with permissions on existing
directories at all (directories are a shared resource). If you want to
change permissions on an existing directory, do it in pkg_preinst.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-23 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23  3:53 [gentoo-dev] updating baselayout PERMS_PROTECT Caleb Cushing
2009-03-23 14:25 ` Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox