Question

ownership of the directories to the Apache web user

  • Posted 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…

Subscribe
Share

Submit an 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