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

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

 



On Mon, Mar 03, 2025 at 03:17:55PM -0600, Bjorn Helgaas wrote:
> On Tue, Feb 25, 2025 at 10:05:49PM +0200, Leon Romanovsky wrote:
> > 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"
> 
> Where are we at with this?  Is a udev rule a feasible solution?

We asked customer if this can work for him and still didn't get answer.
I don't know if they have systemd/udev in their hypervisors.

Thanks





[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