I want my users to be able to read emerge.log. The standard procedure to achieve this seems to be to place the user into the portage group. However, this gives the users more privileges than intended (e.g. allowing them to write to emerge.log). Since the permissions of emerge.log (660) are hardcoded into emergelog.py, I have no way of influencing them (other than hacking the source files). Reproducible: Always Steps to Reproduce: 1. have a user run 'qlop -l' Actual Results: lop: Could not open logfile '/var/log/emerge.log': Permission denied Expected Results: show the merge history
It's fixed to only set permissions when creating the log: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a706f4489a017f2609b36acc50081e58e3a7e07f
This is fixed in 2.1.9.47 and 2.2.0_alpha31.