CONFIG_PROTECT

From Gentoo Wiki
Jump to: navigation, search
This page is a translated version of the page CONFIG PROTECT and the translation is 60% complete.

Warning: Display title "CONFIG_PROTECT" overrides earlier display title "CONFIG PROTECT".

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎русский • ‎українська • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

The CONFIG_PROTECT variable contains a space-delimited list of directories where Portage will not blindly copy over new versions of files, but instead treat the files as configuration files where the user should manually check if the changes are needed and valid or not. Sub-directories of the listed directories can be excluded through the CONFIG_PROTECT_MASK variable.

The variable has a sane default setting handled by the Portage installation and the users' Gentoo profile. It can be extended through the system environment (which is often used by applications that update the variable through their /etc/env.d file) and the users' /etc/portage/make.conf setting.

FILE /etc/portage/make.confExample CONFIG_PROTECT definitions
CONFIG_PROTECT="/var/bind"

Zobacz również rozdział Zmienne środowiskowe w Podręczniku Gentoo.