|
ps0 at igmp.com.ar
ps0 at igmp.com.ar
Wed Jul 3 11:35:08 EST 2002
On Wed, Jul 03, 2002 at 09:22:38AM +0200, Jiri Lisicky wrote:
> On Tue, 2 Jul 2002 19:48:03 -0300, you wrote:
>
> >Apache: 1.3.24
> >mod_python: 2.7.8
> >Python: 2.2 (w/threads) [i have to recompile it
> >without threads]
> >
> >
> >fd=open("/tmp/bleh.txt", "w")
> >fd.write("HOLA\n")
> >fd.close()
> >
> >On the fd.close() it make this error:
> >IOError: [Errno 9] Bad file Descriptor
> >
> >The file is created but i can't write on it.
> >
> >
> >The perms are corectly applied, from a python script ( out of apache )
> >the thinks work ok.
> >
> >Sugestions apreciated.
> Exists file /tmp/bleh.txt before running script from mod_python?
> Maybe you create this file by generic python script under your
> username. When call it under mod_python, it is under apache account =
> permission problem.
> --
> Jiøí Lisický ÈD KM®P Olomouc
> e-mail: lisicky at datis.cdrail.cz Vídeòská 15
> phone: +420-068-578-2272 Olomouc, Czech Republic
> >>> èe¹tina ISO-8859-2 Compatible <<<
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
no , the file doesn't exist before running the script in mod_python, i
aready check that.
Regards
|