When trying to attach a file to a trac wiki page I get the following: Oops... Trac detected an internal error:
[Errno 13] Permission denied: '/var/data/trac/attachments/wiki/ByrneJB_Coding_p003' If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team. Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below. TracGuide The Trac User and Administration Guide Python traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 267, in process_request self._do_save(req, attachment) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 335, in _do_save attachment.insert(filename, upload.file, size) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 142, in insert os.makedirs(self.path) File "/usr/lib/python2.3/os.py", line 154, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/data/trac/attachments/wiki/ByrneJB_Coding_p003' This is the first upload that I have attempted since upgrading this trac-environment to trac-0.9.5 and I successfully uploaded files using trac-0.9.4. I have not recreated the enviorment directories nor consciously altered their access modes. Are there any ideas out there about what has happened? $ ll -d /var/data/trac/attachments drwxrwxr-x 4 trac trac 4096 Mar 16 19:16 /var/data/trac/attachments $ grep trac /etc/group trac:x:502:apache -- *** e-mail is NOT a secure channel *** James B. Byrne mailto:ByrneJB.<token>@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3CE delivery <token> = hal _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
