Re: [PATCH v4] PCI/sysfs: Change read permissions for VPD attributes
From: Leon Romanovsky
Date: Wed Mar 05 2025 - 10:02:34 EST
On Tue, Mar 04, 2025 at 09:45:12AM +0200, Leon Romanovsky wrote:
> 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.
We still didn't get any update, so let's drop this patch for now.
Thanks
>
> Thanks
>