When /var/db/pkg or the portage tree lie on their own logical volumes or partitions and a lost+found-directory is created, emerge and gentoolkit's utilities (tested with glsa-check and equery) try to access that directory. This makes it impossible to use these tools with an ordinary member of the portage-group because he/she doesn't has the right to access lost+found. Reproducible: Always Steps to Reproduce: To trigger it with emerge: 1. Put your portage tree on a separate ext2-filesystem and run e2fsck -f on it; or `mkdir /usr/portage/lost+found && chown root:root /usr/portage/lost+found && chmod 700 /usr/portage/lost+found` 2. `emerge -pv portage` as a user in the portage-group Actual Results: These are the packages that would be merged, in order: Calculating dependencies \Permission denied: '/srv/portage/lost+found' Expected Results: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/portage-2.1.4.4 USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 368 kB Total: 1 package (1 reinstall), Size of downloads: 368 kB
This is fixed in 2.1.5_rc7.