471,595 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,595 software developers and data experts.

mod_python + fileinput => permission denied

Opening, reading and writing to a file works fine in mod_python, but
using fileinput (with inplace editing) gives me a 'permission denied'
with exactly the same fileName:

=========================
fileinput.input(fileName, inplace=1)
=========================

I suspect that this has to do with the temporary file it creates, or am
I wrong?

Nov 20 '06 #1
0 1127

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Taishi | last post: by
reply views Thread by Manuzhai | last post: by
3 posts views Thread by kaush | last post: by
reply views Thread by private.anders | last post: by
reply views Thread by private.anders | last post: by
reply views Thread by Simo D | last post: by
reply views Thread by Simo D | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.