summaryrefslogtreecommitdiff
path: root/docs/man/polkit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/polkit.xml')
-rw-r--r--docs/man/polkit.xml23
1 files changed, 9 insertions, 14 deletions
diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml
index 8f6a26f..99aa474 100644
--- a/docs/man/polkit.xml
+++ b/docs/man/polkit.xml
@@ -107,11 +107,10 @@ System Context | |
| | /usr/share/polkit-1/actions/*.policy |
| +--------------------------------------+
|
- +--------------------------------------------+
- | /etc/polkit-1/rules.d/*.rules |
- | /usr/local/share/polkit-1/rules.d/*.rules |
- | /usr/share/polkit-1/rules.d/*.rules |
- +--------------------------------------------+
+ +--------------------------------------+
+ | /etc/polkit-1/rules.d/*.rules |
+ | /usr/share/polkit-1/rules.d/*.rules |
+ +--------------------------------------+
]]></programlisting>
</textobject>
</mediaobject>
@@ -474,28 +473,24 @@ System Context | |
<para>
<command>polkitd</command> reads
<filename class='extension'>.rules</filename> files from the
- <filename class='directory'>/etc/polkit-1/rules.d</filename>,
- <filename class='directory'>/usr/local/share/polkit-1/rules.d</filename>
- and <filename class='directory'>/usr/share/polkit-1/rules.d</filename>
+ <filename class='directory'>/etc/polkit-1/rules.d</filename> and
+ <filename class='directory'>/usr/share/polkit-1/rules.d</filename>
directories by sorting the files in lexical order based on the
basename on each file (if there's a tie, files in
<filename class='directory'>/etc</filename>
are processed before files in
- <filename class='directory'>/usr/local</filename>, which is in turn
- processed before <filename class='directory'>/usr</filename>).
- For example, for the following six
+ <filename class='directory'>/usr</filename>).
+ For example, for the following four
files, the order is
</para>
<itemizedlist mark='opencircle' spacing='compact'>
<listitem><para><filename>/etc/polkit-1/rules.d/10-auth.rules</filename></para></listitem>
- <listitem><para><filename>/usr/local/share/polkit-1/rules.d/10-auth.rules</filename></para></listitem>
<listitem><para><filename>/usr/share/polkit-1/rules.d/10-auth.rules</filename></para></listitem>
<listitem><para><filename>/etc/polkit-1/rules.d/15-auth.rules</filename></para></listitem>
<listitem><para><filename>/usr/share/polkit-1/rules.d/20-auth.rules</filename></para></listitem>
- <listitem><para><filename>/usr/local/share/polkit-1/rules.d/25-others.rules</filename></para></listitem>
</itemizedlist>
<para>
- All three directories are monitored so if a rules file is changed,
+ Both directories are monitored so if a rules file is changed,
added or removed, existing rules are purged and all files are
read and processed again. Rules files are written in the
<ulink url="http://en.wikipedia.org/wiki/JavaScript">JavaScript</ulink>