Hi
I am thinking of relaxing the mount rules for udisks policy and I noticed the following
whether I upgrade and request tcz upgrade or keep local I will defer to your good looks and judgement ok?
target file=
usr/local/share/polkit-1/actions/org.freedesktop.udisks.policy
from tcz =
polkit.tcz
Some parts of this file is in Danish
current syntax
<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
<description xml:lang="da">Montér en enhed</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Proposed syntax
<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
<description xml:lang="en">Mount a device</description>
<message>Authentication is NOT required to mount the device</message>
<message xml:lang="en">Authorisation is NOT required to mount a file system,</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
EDIT change to udisks policy
also edit the eject policy
more later after testing
2) Naturally being an idiot I tried to overwrite the current location as above but its read only file as that is how TC works.
possible options
a) create my own tcz and swap it in
b) muck about with the current unpack at /tmp and replace it
c) tcz may be out-of-date so request upgrade options or possible change of downstream maintainer
any other ideas?
thanks for reading
3) I think it may have impact on those currently running
sudo umount /mnt/pathway to unmount a device