Hey thanks a lot Sean.<div>Setting the permissions on the directory path solved the problem.<br><br><div class="gmail_quote">On Sun, Mar 2, 2008 at 11:09 AM, Sean Allen <<a href="mailto:sean@ardishealth.com">sean@ardishealth.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
On Mar 2, 2008, at 3:24 AM, kaush wrote:<br>
<br>
> On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <<a href="mailto:bj_...@gmx.net">bj_...@gmx.net</a>> wrote:<br>
<div><div></div><div class="Wj3C7c">>> On Sat, 01 Mar 2008 22:47:02 -0800, kaush wrote:<br>
>>> I am using Apache and mod_python to service POST/GET requests on MAC<br>
>>> OS. My script tries to create a file<br>
>><br>
>>> file = open(file_path, 'w')<br>
>><br>
>>> This fails with the following error<br>
>><br>
>>> EACCES<br>
>>> Permission denied<br>
>><br>
>>> What is missing?<br>
>><br>
</div></div>>> To state the ovious: the rights to create a file at `file_path`.<br>
>> Remember<br>
>> that web servers usually have their own "user".<br>
>><br>
>> Ciao,<br>
>> Marc 'BlackJack' Rintsch<br>
><br>
> Thanks Marc.<br>
> In Apache what are the ways/directives to set the rights to a folder?<br>
<br>
none. you set permissions via the operating system.<br>
<br>
chmod would be the command from terminal you are looking for.<br>
<br>
or you can do get info on the folder in question via the finder and<br>
set perms there.<br>
<br>
</blockquote></div><br></div>