milis/talimatname/genel/u/udisks2/udisk2-2.1.5-policy-1.patch

77 lines
3.0 KiB
Diff
Raw Normal View History

2018-06-09 00:06:58 +02:00
diff -Naur udisks-2.1.5/data/org.freedesktop.udisks2.policy.in udisks-2.1.5-new/data/org.freedesktop.udisks2.policy.in
--- udisks-2.1.5/data/org.freedesktop.udisks2.policy.in 2015-02-11 06:13:54.000000000 +0000
+++ udisks-2.1.5-new/data/org.freedesktop.udisks2.policy.in 2015-05-16 19:27:42.510039412 +0000
@@ -16,8 +16,8 @@
<_description>Mount a filesystem</_description>
<_message>Authentication is required to mount the filesystem</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
- <allow_inactive>auth_admin</allow_inactive>
+ <allow_any>yes</allow_any>
+ <allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
@@ -27,9 +27,9 @@
<_description>Mount a filesystem on a system device</_description>
<_message>Authentication is required to mount the filesystem</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
- <allow_inactive>auth_admin</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_any>yes</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
</defaults>
</action>
@@ -38,9 +38,9 @@
<_description>Mount a filesystem from a device plugged into another seat</_description>
<_message>Authentication is required to mount the filesystem</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
+ <allow_any>yes</allow_any>
<allow_inactive>auth_admin</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_active>yes</allow_active>
</defaults>
</action>
@@ -49,9 +49,9 @@
<_description>Mount/unmount filesystems defined in the fstab file with the x-udisks-auth option</_description>
<_message>Authentication is required to mount/unmount the filesystem</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
- <allow_inactive>auth_admin</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_any>yes</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
</defaults>
</action>
@@ -98,9 +98,9 @@
<_description>Unlock an encrypted device plugged into another seat</_description>
<_message>Authentication is required to unlock an encrypted device</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
- <allow_inactive>auth_admin</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_any>yes</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
</defaults>
</action>
@@ -258,8 +258,8 @@
<_description>Eject media</_description>
<_message>Authentication is required to eject media</_message>
<defaults>
- <allow_any>auth_admin</allow_any>
- <allow_inactive>auth_admin</allow_inactive>
+ <allow_any>yes</allow_any>
+ <allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>