You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After looking at all the options available through --help. It looks like this is a read-only access to pci config space. So ideally root access should not be a requirement.
Also took a quick look at sysfs - /sys/pci/devices/
ls -rtl /sys/devices/pci0000\:00/0000\:00\:00.0/config
-rw-r--r-- 1 root root 256 Aug 6 23:28 /sys/devices/pci0000:00/0000:00:00.0/config
shows config space is world readable.
Also, I can run lspci -t without a root user.
I quickly tried to remove the check and test - it's not working consistently. But once or twice it did show up a couple of devices!
The text was updated successfully, but these errors were encountered:
gabhijit
changed the title
Root permissions should not be requirement?
Root permissions should not be a requirement?
Aug 7, 2020
After looking at all the options available through
--help
. It looks like this is a read-only access to pci config space. So ideally root access should not be a requirement.Also took a quick look at
sysfs
-/sys/pci/devices/
shows config space is world readable.
Also, I can run
lspci -t
without a root user.I quickly tried to remove the check and test - it's not working consistently. But once or twice it did show up a couple of devices!
The text was updated successfully, but these errors were encountered: