Skip to content

Allow regular users and groups own device nodes #39056

@dimich-dmb

Description

@dimich-dmb

systemd version the issue has been seen with

258

Used distribution

Arch

Linux kernel version used

6.16.8-arch1-1

CPU architectures issue was seen on

None

Component

systemd-udevd

Expected behaviour you didn't see

Nodes in /dev/ are owned by users and groups as set in udev rules with OWNER and GROUP keys.

Unexpected behaviour you saw

systemd-udevd[509]: /etc/udev/rules.d/99-usbasp.rules:1 User 'dimich' is not a system user, ignoring.

and many more.

Steps to reproduce the problem

Create udev rule to set device node ownership, for example /etc/udev/rules.d/99-usbasp.rules :

SUBSYSTEMS=="usb", ACTION=="add|change", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", OWNER="dimich"

Reload udev rules and plug in the device.

Additional program output to the terminal or log subsystem illustrating the issue

Please, revert f5cdf9515aceca2e91f9a33b74267e0cf5a5b7e8.
It breaks working setups.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions