Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal stoolpigeon's Journal: SELinux and Web development

I use my Fedora desktop to work on development of all kinds. I love that with a Linux machine I can have a machine that matches my production environment very nicely and all the tools I want are there and work pretty well together.

I appreciate SELinux since it is there to keep me safe.

But sometimes - it is a frigging pain. I'm messing about with Yii, a PHP framework and I kept running into problems with permissions. At first I thought it was regular permissions but quickly realized that wasn't it and google pointed me to SELinux. Apache can't write to stuff in /var/www/html.

I did lots of reading. I found one way to fix it, though that way quit working after I had to log out to get a change to a group setting to go into effect. And I read a lot more and it was hard to understand it all, confusing and finally I setenforce=0 and got to work.

I realize that this is a bad habit and I shouldn't do it - but I just need to finish stuff. I'd like a nice way to manage this. Any of you may feel free to make that happen.

This discussion has been archived. No new comments can be posted.

SELinux and Web development

Comments Filter:

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...