read all block devices
This commit is contained in:
parent
c680dfe7db
commit
be2a66afff
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue