[Answered ]-Django directory permissions configuration problem

2πŸ‘

βœ…

In order to create files in a directory, the user Apache is running as needs to have write permissions to it. Currently Apache is running as _www user in the _www group, while petarpetrov owns the directory and is the only one allowed to write to it.

In order to allow _www to write to that directory you should change the group which owns it to _www and change the directory permissions:

chgrp _www /Dropbox/touchsofia/www/mod_wsgi/egg-cache
chmod g+w /Dropbox/touchsofia/www/mod_wsgi/egg-cache

This should change the group ownership to _www and allow that group to write to that directory. Depending on what goes into that directory, more permissions may be required.

πŸ‘€Jack M.

Leave a comment