Re: [PATCH v4] PCI/sysfs: Change read permissions for VPD attributes

From: Andrew Lunn
Date: Tue Feb 25 2025 - 14:02:23 EST


> Chmod solution is something that I thought, but for now I'm looking
> for the out of the box solution. Chmod still require from
> administrator to run scripts with root permissions.

It is more likely to be a udev rule. systemd already has lots of
examples:

/lib/udev/rules.d/50-udev-default.rules:KERNEL=="rfkill", MODE="0664"

Andrew