From f1979ce4ceb34d1140e759ec920d0cd2532993d3 Mon Sep 17 00:00:00 2001 From: Jan Rybar Date: Thu, 25 Feb 2021 18:34:30 +0000 Subject: test: Fix a typo in a comment Signed-off-by: Philip Withnall --- docs/man/polkit.xml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'docs/man/polkit.xml') 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 | + +--------------------------------------------+ ]]> @@ -473,24 +474,28 @@ System Context | | polkitd reads .rules files from the - /etc/polkit-1/rules.d and - /usr/share/polkit-1/rules.d + /etc/polkit-1/rules.d, + /usr/local/share/polkit-1/rules.d + and /usr/share/polkit-1/rules.d directories by sorting the files in lexical order based on the basename on each file (if there's a tie, files in /etc are processed before files in - /usr). - For example, for the following four + /usr/local, which is in turn + processed before /usr). + For example, for the following six files, the order is /etc/polkit-1/rules.d/10-auth.rules + /usr/local/share/polkit-1/rules.d/10-auth.rules /usr/share/polkit-1/rules.d/10-auth.rules /etc/polkit-1/rules.d/15-auth.rules /usr/share/polkit-1/rules.d/20-auth.rules + /usr/local/share/polkit-1/rules.d/25-others.rules - 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 JavaScript -- cgit v1.2.1