[flashrom] #3: OSError: (13, 'Permission denied')

flashrom svn at flashrom.org
Fri Aug 21 16:07:51 CEST 2009


#3: OSError: (13, 'Permission denied')
---------------------------------+------------------------------------------
   Reporter:  hailfinger         |          Owner:  hailfinger
       Type:  defect             |         Status:  new       
   Priority:  major              |      Milestone:            
  Component:  flashrom           |        Version:            
   Keywords:                     |   Dependencies:            
Patchstatus:  there is no patch  |  
---------------------------------+------------------------------------------
 ==== How to Reproduce ====

 While doing a POST operation on `/attachment/ticket/2`, Trac issued an
 internal error.

 ''(please provide additional details here)''


 Request parameters:
 {{{
 {'__FORM_TOKEN': u'88590e6c536c68a9192d038f',
  'action': u'new',
  'attachment': FieldStorage('attachment', 'test.c', '#include
 <stdio.h>\n#include <stdint.h>\n\nvoid u64function(uint64_t
 bar)\n{\n\tprintf("%llx\\n", bar);\n}\n\nint main()\n{\n\tuint32_t hi =
 0xdeadbeef;\n\tuint32_t lo = 0xcafebabe;\n\tu64function((((uint64_t) hi)
 << 32) | lo);\n\treturn 0;\n}\n'),
  'description': u'test attachment',
  'id': u'2',
  'path': u'2',
  'realm': u'ticket'}
 }}}


 User Agent was: `Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19)
 Gecko/20081213 SUSE/1.1.14-1.1 SeaMonkey/1.1.14`

 ==== System Information ====

 || '''Trac''' || `0.11.5` ||
 || '''Python''' || `2.6 (r26:66714, Feb  3 2009, 20:49:49) ` [[br]] `[GCC
 4.3.2 [gcc-4_3-branch revision 141291]]` ||
 || '''setuptools''' || `0.6c9` ||
 || '''SQLite''' || `3.6.4` ||
 || '''pysqlite''' || `2.4.1` ||
 || '''Genshi''' || `0.5.1` ||
 || '''Pygments''' || `1.0` ||
 || '''Subversion''' || `1.6.4 (r38063)` ||
 || '''jQuery:''' || `1.2.6` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/trac/web/main.py", line 444, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib64/python2.6/site-packages/trac/web/main.py", line 205, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib64/python2.6/site-packages/trac/attachment.py", line 398,
 in process_request
     self._do_save(req, attachment)
   File "/usr/lib64/python2.6/site-packages/trac/attachment.py", line 612,
 in _do_save
     attachment.insert(filename, upload.file, size)
   File "/usr/lib64/python2.6/site-packages/trac/attachment.py", line 219,
 in insert
     os.makedirs(self.path)
   File "/usr/lib64/python2.6/os.py", line 150, in makedirs
     makedirs(head, mode)
   File "/usr/lib64/python2.6/os.py", line 157, in makedirs
     mkdir(name, mode)
 OSError: [Errno 13] Permission denied:
 '/srv/trac/flashrom/attachments/ticket'

 }}}

-- 
Ticket URL: <http://www.flashrom.org/trac/flashrom/ticket/3>
flashrom <http://www.flashrom.org/>



More information about the flashrom mailing list