On 06/16/2014 02:15 PM, Richard Shaw
wrote:
If you use "-e" option, you do not use them, if you are using "-a" option you do. Your first message said you used /usr/sbin/semanage fcontext -e /var/lib/mongod "/var/lib/unifi/logs(/.*)?" /usr/sbin/semanage fcontext -e /var/lib/mongod
"/var/lib/unifi/data(/.*)?"
Which is wrong because you used the "-e" Your second email said you were doing. semanage fcontext -d -t mongod_var_lib_t \
"%{_sharedstatedir}/unifi/logs(/.*)?" 2>/dev/null || :
semanage fcontext -d -t mongod_var_lib_t \
"%{_sharedstatedir}/unifi/data(/.*)?" 2>/dev/null || :
Which used the "-a" which was correct, it needs the regex. |
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org