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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, Feb 25, 2025, at 20:59, Andrew Lunn wrote:
>> 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. 

Udev rule is one of the ways to run such script.

systemd already has lots of
> examples:
>
> /lib/udev/rules.d/50-udev-default.rules:KERNEL=="rfkill", MODE="0664"
>
> 	Andrew




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux