Hello, I hope i'm not mistaken. I didn't test it for quite a while, but could you take care about the fact that some paths contain links. For instance, CONFIG_PROTECT="/lib/rcscripts/addons" doesn't work on amd64 but "/lib64/rcscripts/addons" will. The fact that some directories could have many files and be really huge, CONFIG_PROTECT_MASK should take precedence over CONFIG_PROTECT. For example, CONFIG_PROTECT="/var/vpopmail" should not scan directories declared in CONFIG_PROTECT_MASK like CONFIG_PROTECT_MASK="/var/vpopmail/domains". Also, CONFIG_PROTECT should accept files too. Thank you. Jj Reproducible: Always
Which portage version are you using? CONFIG_PROTECT certainly works w/ symlinks since 2.1.2_pre days, and it also accepts files (as does CONFIG_PROTECT_MASK).
(In reply to comment #1) > Which portage version are you using? CONFIG_PROTECT certainly works w/ symlinks > since 2.1.2_pre days, and it also accepts files (as does CONFIG_PROTECT_MASK). > Sorry i forgot to mention it. sys-apps/portage-2.1.2.9 Probably you are right, i didn't look out for it. For the link, i'm almost sure it appended recently. I will check it again if you let me a little more time. Thank you Jj