Ask Your Question

What SElinux context should be used for a php tmp directory

asked 2011-11-11 06:24:42 -0600

asto gravatar image

updated 2011-11-11 06:42:28 -0600

I downloaded cakephp2 to try it out and found that the default SElinux context for /var/www/html/ wouldn't allow apache to write to the tmp folder. I have changed the context to httpd_sys_rw_content - it was the first rw context that met my eye - and that works but is there a more "correct" context?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-11 07:22:41 -0600

B gravatar image

As I know It is the recommended context to use.

edit flag offensive delete link more

Question Tools


Asked: 2011-11-11 06:24:42 -0600

Seen: 942 times

Last updated: Nov 11 '11