[tor-dev] Re: can tor use secondary groups to read FamilyKeyDirectory?

2025-04-08 Thread nusenu via tor-dev



I added this as:
https://gitlab.torproject.org/tpo/core/tor/-/issues/41046

kind regards,
nusenu

--
https://nusenu.github.io

___
tor-dev mailing list -- tor-dev@lists.torproject.org
To unsubscribe send an email to tor-dev-le...@lists.torproject.org


[tor-dev] can tor use secondary groups to read FamilyKeyDirectory?

2025-04-03 Thread nusenu via tor-dev

Hi,

given the following example, tor fails to access the familykeydir folder.

familykeydir has the following permissions:

drwxr-x--- 2 root tor_reader

id _tor
uid=996(_tor) gid=993(_tor) groups=993(_tor),994(tor_reader)

Is tor able to use secondary groups?

When using sudo to switch to user _tor manually, it is possible to read files 
in that folder without problems.

The problem does not happen when _tor's primary group is set to 'tor_reader'.
Tested on debian.

kind regards,
nusenu

--
https://nusenu.github.io

___
tor-dev mailing list -- tor-dev@lists.torproject.org
To unsubscribe send an email to tor-dev-le...@lists.torproject.org