Re: Question

Lukas Vrabec <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 4/12/20 9:15 PM, Jonathan Aquilina wrote:
> Hi guys i have a question regarding SEL.
> 
> I have a VM that is on centos 7 and before I had an issue with wordpress
> where it was in read only mode and i ran
> 
> chcon -R unconfined_u:object_r:httpd_sys_rw_content_t:s0
> /var/www/html/wordpress
> 
>  
> 
> to put it in read write mode for me to update the site
> 
>  
> 
> I then ran
> 
>  
> 
> restorecon -rv /var/www/html to restore things to the way they are.
> 
>  
> 
> since then i have not had to run the commands again to update the site
> with any other updates
> 
>  
> 
> what exactly is happening
> 
>  
> 
> Regards,
> 
> Jonathan
> 
> 
> _______________________________________________
> selinux mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> 

Hi Jonathan,

Can you please share the reproducer ? Also, can you please share SELinux
denials you saw in past (maybe they're still in audit.log) ?

From your e-mail it's hard to decide what really happened on the system.
 Btw. Did you changed value of any httpd_* boolean?
Please attach output of:
# semanage boolean -l | grep httpd

Thanks,
Lukas.






-- 
Lukas Vrabec
SELinux Evangelist,
Senior Software Engineer, Security Technologies
Red Hat, Inc.

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE3wrP3ArXoyYgAS7LRyAaxC8pzgYFAl6TdPcACgkQRyAaxC8p
zgb3jQf+N/smQWKNswJ8OAMjFRcztA0Mo4curyhqaj8ill10xG9AHI2SdLC82b1A
pTxf7/gDFmKH3UAacHltlgB5ZZIOUhXunscJjC6sjhxS1tdYoo+e//A0lO8uU4TL
IkmoX8Bcvt3TO2qJXqOw4deVKyUEtykw/eo1L9EGCnZCLUfKpx1UCbBe8FZOTVVz
hPN0EYlwOByrkQUB4r4KAa0f+DJ/bFMmEqztOcN3c64DYM42kAvtSwvm1Up9TF95
KLDatK6PFAoLh7skHeJjzDH9aSHKPV3gN6rzz82dG5oxfzJvY9O7DO9M5Ornfy47
qaR88oSImKiVkqsjKTqz4l3s6PYXUQ==
=Tj4h
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.