On 7/7/19 1:35 AM, Robin Laing wrote:
I cannot find out in anything I have searched what the syntax description for
the two directories under this policy.
/home/[^]+/\.cache/thumbnail(/.*)?
/home/[^]+/\.thumbnail(/.*)?
So, does theĀ [^] mean the "user" home directory?
Does the + mean this directory? or something else?
Those expressions should be:
/home/[^/]+/\.cache/thumbnail(/.*)?
/home/[^/]+/\.thumbnail(/.*)?
Note the added "/" following the "^" in the bracket expression, which now matches any single
character that is NOT "/". The following "+" means to match one or more occurrences of the
preceding atom.
It's all described in "man 7 regex". The policy compiler is using "extended
regex".
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org