httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Change user for Apache web server to a non-privileged user?
Date Mon, 19 Sep 2016 19:19:34 GMT


On 09/19/2016 03:16 PM, Rich Bowen wrote:
> 

> You are *probably* encountering selinux permission problems.
> 

Or, as this appears to be a Debian/Ubuntu machine, AppArmor.


> No doubt, if you investigate that line, you'll find lots of people
> telling you to disable selinux, or set it to permissive. These people
> are evil, and should be ignored. Instead, you need to learn how to
> correctly give permission to the web content to your Apache user
> account. You're looking for the chcon command line utility.
> 
> See http://serverfault.com/questions/396036/apache-httpd-permissions for
> a possible starting place.
> 
> 


-- 
Rich Bowen - rbowen@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message