read all block devices

This commit is contained in:
Jeroen Rijken 2022-08-19 10:31:57 +02:00 committed by Alex
parent c680dfe7db
commit be2a66afff

View File

@ -50,7 +50,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
interface=org.freedesktop.PolicyKit[0-9].Authority interface=org.freedesktop.PolicyKit[0-9].Authority
member=CheckAuthorization, member=CheckAuthorization,
dbus bind bus=system dbus bind bus=system
name=org.freedesktop.UDisks2, name=org.freedesktop.UDisks2,
@{exec_path} mr, @{exec_path} mr,
@ -130,8 +130,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
@{sys}/class/ r, @{sys}/class/ r,
@{sys}/devices/pci[0-9]*/**/{ata,usb,mmc}[0-9]/{,**/}uevent w, @{sys}/devices/pci[0-9]*/**/{ata,usb,mmc}[0-9]/{,**/}uevent w,
@{sys}/devices/virtual/block/dm-[0-9]*/ w, @{sys}/devices/virtual/block/*/** r,
@{sys}/devices/virtual/block/dm-[0-9]*/** w,
@{sys}/devices/virtual/block/loop[0-9]*/uevent rw, @{sys}/devices/virtual/block/loop[0-9]*/uevent rw,
# For powering off USB devices # For powering off USB devices