mod_python Unable to create file
kaush
kaushikbarat at gmail.com
Sun Mar 2 03:24:28 EST 2008
On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Sat, 01 Mar 2008 22:47:02 -0800, kaush wrote:
> > I am using Apache and mod_python to service POST/GET requests on MAC
> > OS. My script tries to create a file
>
> > file = open(file_path, 'w')
>
> > This fails with the following error
>
> > EACCES
> > Permission denied
>
> > What is missing?
>
> To state the ovious: the rights to create a file at `file_path`. Remember
> that web servers usually have their own "user".
>
> Ciao,
> Marc 'BlackJack' Rintsch
Thanks Marc.
In Apache what are the ways/directives to set the rights to a folder?
More information about the Python-list
mailing list