FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-23-2009, 02:53 AM
Caleb Cushing
 
Default updating baselayout PERMS_PROTECT

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
 
Old 03-23-2009, 01:25 PM
Ciaran McCreesh
 
Default updating baselayout PERMS_PROTECT

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
 

Thread Tools




All times are GMT. The time now is 12:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org