|
Re: How make /var/www/html/mkj/wiki/images) writable by the webserver?
This is always a security risk.
Ideally, you should create a group for all "web" users, e.g. users that need write access to /var/www. This would include you, root and apache.
sudo addgroup www-users
Then, you would add yourself and apache to this group.
sudo adduser <your-username> www-users
sudo adduser apache www-users
Finally, let's modify /var/www so that the new group can fully access it:
sudo chgrp www-users /var/www
sudo chmod –R 775 /var/www
sudo chmod g+s /var/www
__________________
--------------------
Hesam Esfahlani
http://about.me/hesames
|