Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Configure file Write permission on Apache

$
0
0

Hi,

I'm building a Django based web service and for particular reasons I need to write the content of a blob to a file that needs to be temporarily stored locally (in the Linux VM) while my application processes the data within. 

I used standard settings to setup Apache (as described on azure tutorials) and got everything going except that I cant get the website to create a file so I can write the blob content in (using standard open('file', 'w') operation). All I get is the Errno 13, permition denied error. Trying 'chmod' did not work.

If I run the script in terminal I can create the file and write into it, i've tried doing it from several different folders and. This makes me believe the permission problem comes from the apache configuration but I cant figure it out.

I would really appreciate if anyone could point me to the right direction. 

Thank you for the attention.

Rafael Assis


Viewing all articles
Browse latest Browse all 12545

Trending Articles