Re: [systemd-devel] DynamicUser and udev uaccess

2024-07-19 Thread Renjaya Raga Zenta
Is there another way to allow DynamicUser to access the USB scanner instead of setting MODE="666"? Or can the DynamicUser be marked as a logged-in user? Thanks. On Fri, Jul 19, 2024 at 11:03 AM Andrei Borzenkov wrote: > On 19.07.2024 05:01, Renjaya Raga Zenta wrote: > > Hi there, > > > > We hav

Re: [systemd-devel] DynamicUser and udev uaccess

2024-07-19 Thread Luca Boccassi
Set up a system group named appropriately, use it for group ownership of those device nodes, and then use SupplementaryGroups=foo in your unit On Fri, 19 Jul 2024 at 08:25, Renjaya Raga Zenta wrote: > > Is there another way to allow DynamicUser to access the USB scanner instead > of setting MODE

Re: [systemd-devel] DynamicUser and udev uaccess

2024-07-18 Thread Andrei Borzenkov
On 19.07.2024 05:01, Renjaya Raga Zenta wrote: Hi there, We have a service using DynamicUser=yes which interacts with some USB scanners. It seems TAG+="uaccess" is already set by 70-uaccess.rules as we use libsane. But unfortunately, the service cannot access the scanner unless we set MODE="666"

[systemd-devel] DynamicUser and udev uaccess

2024-07-18 Thread Renjaya Raga Zenta
Hi there, We have a service using DynamicUser=yes which interacts with some USB scanners. It seems TAG+="uaccess" is already set by 70-uaccess.rules as we use libsane. But unfortunately, the service cannot access the scanner unless we set MODE="666" manually in another udev rule. Is it the expect