I have trac running on my debian server and I set it up using mod_wsgi through apache. Now I have everything setup nicely, except I can never seem to write to a projects trac.ini file through the site.

I have set the ini file to be writable:

sudo chmod +x trac.ini

And I have also made it belong to www-data:

ls -l
-rwxrwxrwx 1 www-data admin 5744 Aug  2 00:00 trac.ini

On a similar server I setup a while ago the same call gives me this:

ls -l
-rwxrwxrwx 1 www-data www 5904 Mar  20 11:00 trac.ini

I am clearly missing something basic here but cannot get it to work!

  • You don't say what the permissions are on the directory that trac.ini is in. – David Aug 2 '12 at 0:45
  • Ah. That might be it. I will try it now... – ingh.am Aug 2 '12 at 0:55
  • Answer that as a question and I will accept. Feel so silly now now checking the dir! – ingh.am Aug 2 '12 at 0:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.