Re: more selinux problems ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Sep 23, 2017 at 5:37 AM, hw <hw@xxxxxxxx> 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 <module name>

... do whatever you want to allow, then kill "tail -f" ...

setenforce enforcing

> I tried to create and install a selinux module, and it didn´t work.

What did you try?

> The non-working module can not be removed, either:
>
> semodule -r lighttpd-files_articles.pp

You can get a list of installed modules using "semodule -l".  Module
names don't have a ".pp" suffix, typically.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux