lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <e9943382-8d53-4e28-b600-066ef470f889@app.fastmail.com>
Date: Tue, 25 Feb 2025 22:05:49 +0200
From: "Leon Romanovsky" <leon@...nel.org>
To: "Andrew Lunn" <andrew@...n.ch>
Cc: "Bjorn Helgaas" <helgaas@...nel.org>,
 Krzysztof Wilczyński <kw@...ux.com>,
 linux-pci@...r.kernel.org, "Ariel Almog" <ariela@...dia.com>,
 "Aditya Prabhune" <aprabhune@...dia.com>, "Hannes Reinecke" <hare@...e.de>,
 "Heiner Kallweit" <hkallweit1@...il.com>, "Arun Easi" <aeasi@...vell.com>,
 "Jonathan Chocron" <jonnyc@...zon.com>,
 "Bert Kenward" <bkenward@...arflare.com>,
 "Matt Carlson" <mcarlson@...adcom.com>,
 "Kai-Heng Feng" <kai.heng.feng@...onical.com>,
 "Jean Delvare" <jdelvare@...e.de>,
 "Alex Williamson" <alex.williamson@...hat.com>, linux-kernel@...r.kernel.org,
 netdev@...r.kernel.org, "Jakub Kicinski" <kuba@...nel.org>,
 Thomas Weißschuh <linux@...ssschuh.net>,
 "Stephen Hemminger" <stephen@...workplumber.org>
Subject: Re: [PATCH v4] PCI/sysfs: Change read permissions for VPD attributes



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ