Report this

What is the reason for this report?

ownership of the directories to the Apache web user

Posted on September 25, 2014

Hello,

I have magento multi webstore configuration on digital ocean in a single droplet and I want to change ownership/group of a directory and also want to know about user creation by which I can manage one more user for that directory with detail of how to change ownership/group of complete content of the directory.

thanks in advance…



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey there,

Here is a tutorial that reviews Linux permissions and ownership. The basic command you are looking for would be:

  1. chown -R user:group /var/www/html/folder

You want to make sure that the files are still readable by the web server so that the web site still can be served.

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.