Timeline for Why is /var/www/html writable only by root (by default)?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 19, 2016 at 17:33 | history | edited | jayhendren | CC BY-SA 3.0 | added 67 characters in body |
| Dec 16, 2016 at 23:41 | comment | added | jayhendren | That should be posted as a separate question, but I can answer that quickly here. sudo service apache2 restart does not cause Apache to be run as the root user. The user that Apache runs as is determined by the User directive in the Apache configs. | |
| Dec 16, 2016 at 23:37 | vote | accept | Museful | ||
| Dec 16, 2016 at 23:36 | comment | added | Museful | Do I understand correctly that I should never service apache2 restart as root? | |
| Dec 16, 2016 at 23:26 | history | answered | jayhendren | CC BY-SA 3.0 |