By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

Mod_python permission denied

P: n/a

Hi, I'm using a to write a file in a dir on the server. Mod_python
work but i get:
Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

File "/usr/lib64/python2.4/site-packages/mod_python/", line 299,
in HandlerDispatch
result = object(req)

File "/usr/lib64/python2.4/site-packages/mod_python/", line
204, in handler
module = page_cache[req]

File "/usr/lib64/python2.4/site-packages/mod_python/", line 82, in
return self._checkitem(name)[2]

File "/usr/lib64/python2.4/site-packages/mod_python/", line 124,
in _checkitem
value =, name, opened, entry)

File "/usr/lib64/python2.4/site-packages/mod_python/", line
77, in build
return, key, req, opened, entry)

File "/usr/lib64/python2.4/site-packages/mod_python/", line 371,
in build
exec opened in module.__dict__

File "/var/www/html/flood/py/", line 18, in ?

File "/usr/lib64/python2.4/site-packages/reportlab/pdfgen/", line
881, in save
self._doc.SaveToFile(self._filename, self)

File "/usr/lib64/python2.4/site-packages/reportlab/pdfbase/",
line 218, in SaveToFile
f = open(filename, "wb")

IOError: [Errno 13] Permission denied: 'wms.pdf'
The dir has the read, write and execute permissions and SELinux is disabled.
Can you help me?
Thanks in advance.
View this message in context:
Sent from the Python - python-list mailing list archive at

Nov 7 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.