Jiri Lisicky
lisicky at datis.cdrail.cz
Wed Jul 3 09:22:38 EST 2002
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 <<<
|