Re: [CentOS] more selinux problems ...

2017-09-24 Thread Gordon Messmer
On Sat, Sep 23, 2017 at 5:37 AM, hw wrote: > how do I allow lighttpd access to a directory like this: > > dr-xrwxr-x. lighttpd example unconfined_u:object_r:samba_share_t:s0 > files_articles setenforce permissive tail -f /var/log/audit/audit.log | grep AVC | audit2allow -m ... do whatever you w

Re: [CentOS] more selinux problems ...

2017-09-24 Thread Daniel Walsh
On 09/23/2017 08:37 AM, hw wrote: Hi, how do I allow lighttpd access to a directory like this: dr-xrwxr-x. lighttpd example unconfined_u:object_r:samba_share_t:s0 files_articles I tried to create and install a selinux module, and it didn´t work. The non-working module can not be removed, ei

[CentOS] more selinux problems ...

2017-09-23 Thread hw
Hi, how do I allow lighttpd access to a directory like this: dr-xrwxr-x. lighttpd example unconfined_u:object_r:samba_share_t:s0 files_articles I tried to create and install a selinux module, and it didn´t work. The non-working module can not be removed, either: semodule -r lighttpd-files_ar