Re: [CentOS] selinux problem policies

2017-05-01 Thread Günther J . Niederwimmer
Hello, Thanks for the Help! On Montag, 1. Mai 2017 04:47:21 CEST Gordon Messmer wrote: > On 04/30/2017 07:24 PM, Günther J. Niederwimmer wrote: > > when I like to set this Rule ? > > semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/ > > typo3conf(/.*)?" > > > > This Errors are

Re: [CentOS] selinux problem policies

2017-04-30 Thread Gordon Messmer
On 04/30/2017 07:24 PM, Günther J. Niederwimmer wrote: when I like to set this Rule ? semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/ typo3conf(/.*)?" This Errors are displayd ? neverallow check failed at /etc/selinux/targeted/tmp/modules/100/selinuxutil/ cil:244 I see, no

Re: [CentOS] selinux problem policies

2017-04-30 Thread Günther J . Niederwimmer
Hello, On Sonntag, 30. April 2017 18:40:23 CEST Gordon Messmer wrote: > On 04/30/2017 07:03 AM, Günther J. Niederwimmer wrote: > > I write this! > > > > semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/ > > typo3conf(/.*)?" > > OK. Did you get an error? I have only Errors ;

Re: [CentOS] selinux problem policies

2017-04-30 Thread James A. Peltier
If the content is located under /var/www then you could use restorcon -Rvv to restore the context of all content under /var/www to the default context label as provided by Apache. - On 30 Apr, 2017, at 07:03, Günther J. Niederwimmer g...@gjn.priv.at wrote: | Hello, | | My problem is to add

Re: [CentOS] selinux problem policies

2017-04-30 Thread Gordon Messmer
On 04/30/2017 07:03 AM, Günther J. Niederwimmer wrote: I write this! semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/ typo3conf(/.*)?" OK. Did you get an error? I have more instances from typo3 I found this construct in the selinux policies "/var/www/html(/.*)?/uploads

[CentOS] selinux problem policies

2017-04-30 Thread Günther J . Niederwimmer
Hello, My problem is to add selinux policies can any help to say what is wrong with my policies I write this! semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?/ typo3conf(/.*)?" I have more instances from typo3 I found this construct in the selinux policies "/var/www/html(/.