Hi,
If I change theses 2 lines in /etc/PolicyKit/PolyciKit.conf:
<match action="org.freedesktop.hal.storage.mount-fixed">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<return result="yes" />
</match>from "yes", to "no", the partitions are still seen in pcmanfm (and nautilus as well, I checked) but not possible to mount them by clicking on it anymore.
This is good, but for the Edu it would still be better if it is possible for an admin who would be logged in to mount and access if needed. This is my last thought about the subject : would you agree ?
If you are ok with this statement, could you try to help me figure out how to write the syntax for it ? I seem not to be able to figure it out by reading at the doc:
http://hal.freedesktop.org/docs/PolicyKit/PolicyKit.conf.5.htmlI see:
no Access denied.
auth_self Access denied, but authentication of the caller as himself will grant access to only that caller.
auth_self_keep_session
Access denied, but authentication of the caller as himself will grant access to any caller in the session of the caller belongs to.
auth_self_keep_always Access denied, but authentication of the caller as himself will grant access any caller with the given uid in the future.
auth_admin Access denied, but authentication of the caller as an administrative user will grant access to only that caller.
auth_admin_keep_session Access denied, but authentication of the caller as an administrative user will grant access to any caller in the session of the caller belongs to.
auth_admin_keep_always Access denied, but authentication of the caller as an administrative user will grant access any caller with the given uid in the future.
yes Access granted.
For now, "yes" or "no" is easy : <return result="yes"/> or <return result="no"/>
But if for instance I want to use "auth_admin", or "auth_admin_keep_session", how should it be written ?
I see examples:
<match user="davidz|bateman">
<return result="yes"/>
</match>Do you think it would be something such as
<match action="org.freedesktop.hal.storage.mount-fixed">
<match user="auth_admin">
<return result="yes"/>
</match>?
That seems strange to me...
Thanks,
Mélodie