> Protected Locations
> ===================
> 
> Protected locations are determined by the ``CONFIG_PROTECT`` environment
> variable, which is defined in the profiles and which may be augmented or
> overridden by the current environment and user configuration files. This
> variable contains a space separated list of values which are matched against 
> the
> beginning of a full file path and name of files to be installed.

"which are matched against the beginning of a full file path" would mean
that e.g. CONFIG_PROTECT="/etc/foo" would protect the following:

/etc/foobar/doh
/etc/foo
/etc/foobaz

.. or did I misunderstand something here? I don't know whether that is
the current behaviour of portage, but IMO it certainly shouldn't be. It
should rather be

/etc/foo (file)
or, if /etc/foo is a dir:
/etc/foo/*

-- 
Kind Regards,

Simon Stelling
Gentoo/AMD64 developer
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to