1 |
> Protected Locations |
2 |
> =================== |
3 |
> |
4 |
> Protected locations are determined by the ``CONFIG_PROTECT`` environment |
5 |
> variable, which is defined in the profiles and which may be augmented or |
6 |
> overridden by the current environment and user configuration files. This |
7 |
> variable contains a space separated list of values which are matched against the |
8 |
> beginning of a full file path and name of files to be installed. |
9 |
|
10 |
"which are matched against the beginning of a full file path" would mean |
11 |
that e.g. CONFIG_PROTECT="/etc/foo" would protect the following: |
12 |
|
13 |
/etc/foobar/doh |
14 |
/etc/foo |
15 |
/etc/foobaz |
16 |
|
17 |
.. or did I misunderstand something here? I don't know whether that is |
18 |
the current behaviour of portage, but IMO it certainly shouldn't be. It |
19 |
should rather be |
20 |
|
21 |
/etc/foo (file) |
22 |
or, if /etc/foo is a dir: |
23 |
/etc/foo/* |
24 |
|
25 |
-- |
26 |
Kind Regards, |
27 |
|
28 |
Simon Stelling |
29 |
Gentoo/AMD64 developer |
30 |
-- |
31 |
gentoo-dev@g.o mailing list |