Re: [systemd-devel] logind device access weird behavior

2025-04-01 Thread serenissi
Right! Stupid me. It just occurred to me that it is debian (which adds local users to video) and `group::---` looks sus. I spun up the vm to confirm and saw this reply in my inbox. Thanks! ~serene On 4/1/25 19:36, Mantas Mikulėnas wrote: It sounds as if your original user is in the "video" gro

Re: [systemd-devel] logind device access weird behavior

2025-04-01 Thread Mantas Mikulėnas
It sounds as if your original user is in the "video" group, so it receives the 'group' permissions and not 'other' permissions. (They are not additive in the POSIX model like they would be in Windows.) Even though the device node had no specific ACL entries, it still *had* an ACL in general, so th

[systemd-devel] logind device access weird behavior

2025-04-01 Thread serenissi
I noticed a phenomenon about logind managed devices (drm node). I have two users, localuser and testuser, the former has a session in seat0 (this is important). I attached drm card1 to new seat `seat1` and set 777 permission to the dev node /dev/dri/card1. Now the acl looks like # file: dev/dr