mod_python + fileinput => permission denied

C

cyberco

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top