Web permissions for httpd

No Comments

In your httpd.conf file are this lines:

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon

 

The user and the group of httpd are “daemon”. Now in a terminal type the following command:

chown -R daemon:daemon /path/to/htdocs/directory

 

Sometimes this command must be executed after type

sudo su

Now Gii can write files into protected folder with chmod 775 permissions

This is author biographical info, that can be used to tell more about you, your iterests, background and experience. You can change it on Admin > Users > Your Profile > Biographical Info page."

About us and this blog

We are a digital marketing company with a focus on helping our customers achieve great results across several key areas.

Request a free quote

We offer professional SEO services that help websites increase their organic search score drastically in order to compete for the highest rankings even when it comes to highly competitive keywords.

Subscribe to our newsletter!

More from our blog

See all posts