after running \"python manage.py syncdb\" i gett an error saying \"unable to open database file\".
here is the important part from my settings.py:
DA
To change the permission of parent directory, you can use below set of commands:
check apache process for apache v2:
ps -ef | grep apache | grep -v grep
the user/group is www-data
chgrp www-data /path/to/mydir
chmod g+w /path/to/mydir
Ref: https://askubuntu.com/questions/58725/how-do-we-know-that-a-directory-is-apache-writable