summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-07-28 04:29:25 -0700
committerZac Medico <zmedico@gentoo.org>2011-07-28 04:29:25 -0700
commit4bb08136f073024c5d31dceb1618b6f4e7246369 (patch)
tree54ee1f6c5a537afa47bbc9772252b2c9efaae129 /bin/emaint
parent7bc0f420943278f3efcbb2e33c949c393ab99a09 (diff)
downloadportage-4bb08136f073024c5d31dceb1618b6f4e7246369.tar.gz
portage-4bb08136f073024c5d31dceb1618b6f4e7246369.tar.bz2
portage-4bb08136f073024c5d31dceb1618b6f4e7246369.zip
emerge: protect symlinks to directories sometimes
Before, it was possible to unmerge a symlink to a directory, such that files installed via the path of the symlink could become inaccessible via that path (and also making it impossible to unmerge them via that path). Now, the symlink will only be unmerged if the directory that it points to only contains regular files which are all being unmerged. In any other case, the symlink will be preserved and an eerror log message will record the event. This will give the user an opportunity to take further action if they deem it necessary, and such symlink preservation will not be silent as it was reported in bug #326685, comment #3.
Diffstat (limited to 'bin/emaint')
0 files changed, 0 insertions, 0 deletions