summaryrefslogtreecommitdiff
path: root/docs/man/polkit.xml
diff options
context:
space:
mode:
authorJan Rybar <jrybar@redhat.com>2021-02-25 18:34:30 +0000
committerJan Rybar <jrybar@redhat.com>2021-02-25 18:34:30 +0000
commitf1979ce4ceb34d1140e759ec920d0cd2532993d3 (patch)
tree12b44b9e19ccb6f2a120ba16e6f8e055c970a258 /docs/man/polkit.xml
parent6e8b2263200d5b95b88b26ab10adfb3d5eb66b6d (diff)
downloadpolkit-f1979ce4ceb34d1140e759ec920d0cd2532993d3.tar.gz
test: Fix a typo in a comment
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'docs/man/polkit.xml')
-rw-r--r--docs/man/polkit.xml23
1 files changed, 14 insertions, 9 deletions
diff --git a/docs/man/polkit.xml b/docs/man/polkit.xml
index 99aa474..8f6a26f 100644
--- a/docs/man/polkit.xml
+++ b/docs/man/polkit.xml
@@ -107,10 +107,11 @@ System Context | |
| | /usr/share/polkit-1/actions/*.policy |
| +--------------------------------------+
|
- +--------------------------------------+
- | /etc/polkit-1/rules.d/*.rules |
- | /usr/share/polkit-1/rules.d/*.rules |
- +--------------------------------------+
+ +--------------------------------------------+
+ | /etc/polkit-1/rules.d/*.rules |
+ | /usr/local/share/polkit-1/rules.d/*.rules |
+ | /usr/share/polkit-1/rules.d/*.rules |
+ +--------------------------------------------+
]]></programlisting>
</textobject>
</mediaobject>
@@ -473,24 +474,28 @@ System Context | |
<para>
<command>polkitd</command> reads
<filename class='extension'>.rules</filename> files from the
- <filename class='directory'>/etc/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>,
+ <filename class='directory'>/usr/local/share/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</filename>).
- For example, for the following four
+ <filename class='directory'>/usr/local</filename>, which is in turn
+ processed before <filename class='directory'>/usr</filename>).
+ For example, for the following six
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>
- Both directories are monitored so if a rules file is changed,
+ All three 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>