On Thu, Jun 20, 2013 at 01:59:46AM +0200, Christoph Anton Mitterer wrote:
> I just stumbled across this:
> 
> On some of my nodes /var/lib/sudo has permissions 755, while on other
> 700.
> 
> In the later case, there are subdirs available, in the former, it is
> empty.
> 
> 
> Is this as intended (and sudo itself sets the permission as needed)...
> or is it an issue?

I cannot answer this questions and apologize for the long time it took
to reply. However, in August 2017, with sudo 1.8.21-1, /var/lib/sudo was
moved to /run/sudo, the init script now has code to make sure that the
mode is 711, and on systemd systems, the tmpfiles.d mechanism is used to
create the file on system boot with the correct owner and mode.

Can you please check whether your concerns still apply and indicate
whether this issue can be closed?

If you don't reply, I plan to close this bug by the end of June 2021.

Greetings
Marc

Reply via email to