[prev in list] [next in list] [prev in thread] [next in thread]
List: trac
Subject: [Trac] File upload permission problem with trac-0.9.5
From: "James B. Byrne" <ByrneJB () Harte-Lyne ! ca>
Date: 2006-04-25 16:48:10
Message-ID: 1154.216.185.71.77.1145983690.squirrel () webmail ! harte-lyne ! ca
[Download RAW message or body]
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
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic