id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges
10848,OSError: [Errno 13] Permission denied: '/opt/avd/busAnalysisTrac/attachments/wiki',rebecca.jarman@…,,"==== How to Reproduce ====
While doing a POST operation on `/attachment/wiki/GriddedDataDiagrams/`, Trac issued an internal error.
''(please provide additional details here)''
I was trying to attach a file 'index.htm' as part of the trying out the functionality.
Request parameters:
{{{
{'__FORM_TOKEN': u'9dbdd1c7728f9c0717e81f3b',
'action': u'new',
'attachment': FieldStorage#'attachment', 'M:\\Met_Office\\Development\\_Public_Write\\Gridded Data Management\\Gridded Data v3\\index#htm', '\r\n\r\n
\r\n\r\nAs Is View v3#0\r\n\r\n\r\n\r\n\r\n
\r\n\tAs Is View v3#0\r\n
\r\n
\r\n\t\r\n
\r\n\r\n\r\n'#,
'description': u'test',
'id': u'GriddedDataDiagrams',
'path': u'GriddedDataDiagrams/',
'realm': u'wiki'}
}}}
User agent: `Mozilla/4#0 #compatible; MSIE 7#0; Windows NT 6#1; WOW64; Trident/5#0; SLCC2; #NET CLR 2#0#50727; #NET CLR 3#5#30729; #NET CLR 3#0#30729; InfoPath#2; #NET4#0C; #NET4#0E#`
==== System Information ====
|| '''`Trac`''' || `0#12#2` ||
|| '''`Docutils`''' || `0#8#1` ||
|| '''`Genshi`''' || `0#6` ||
|| '''`mod_wsgi`''' || `3#3 #WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}#` ||
|| '''`Pygments`''' || `1#4` ||
|| '''`pysqlite`''' || `2#6#0` ||
|| '''`Python`''' || `2#7#2 #default, May 4 2012, 09:13:33# ` ##br## `#GCC 4#4#5 20110214 #Red Hat 4#4#5-6##` ||
|| '''`pytz`''' || `2012c` ||
|| '''`setuptools`''' || `0#6c11` ||
|| '''`SQLite`''' || `3#6#20` ||
|| '''`jQuery`''' || `1#4#2` ||
==== Enabled Plugins ====
==== Python Traceback ====
{{{
Traceback #most recent call last#:
File ""build/bdist#linux-x86_64/egg/trac/web/main#py"", line 511, in _dispatch_request
dispatcher#dispatch#req#
File ""build/bdist#linux-x86_64/egg/trac/web/main#py"", line 237, in dispatch
resp = chosen_handler.process_request#req#
File ""build/bdist.linux-x86_64/egg/trac/attachment.py"", line 448, in process_request
self._do_save#req, attachment#
File ""build/bdist.linux-x86_64/egg/trac/attachment.py"", line 684, in _do_save
attachment.insert#filename, upload.file, size#
File ""build/bdist.linux-x86_64/egg/trac/attachment.py"", line 259, in insert
os.makedirs#self.path#
File ""/usr/local/sci/lib/python2.7/os.py"", line 150, in makedirs
makedirs#head, mode#
File ""/usr/local/sci/lib/python2.7/os.py"", line 157, in makedirs
mkdir#name, mode#
OSError: [Errno 13] Permission denied: '/opt/avd/busAnalysisTrac/attachments/wiki'
}}}",defect,closed,normal,,general,0.12.2,normal,cantfix,,,,,,