[dancer-users] permission denied when trying to write_file

Maxwell Carey mcarey at ucar.edu
Thu Feb 20 21:52:50 GMT 2014


On 02/20/2014 02:01 PM, Gert van Oss wrote:
> The small app I was creating works ‘perfect’ locally.
>
> A folder is scanned for images. The images are listed and a user then can give tags/description to the images. The updates are stored in a ‘yaml-file’ (for now).
>
> When deploying it on a server I get:
>
>      [hit #10]request to POST /edit/0 crashed: write_file 'myImages.yml'
>      - sysopen: Permission denied at...

Does the user your web server runs as have write permissions for 
myImages.yml? For example, I use Apache and on my system the Apache user 
is 'apache', but on some systems it's 'nobody'. For other web servers 
it's different.


More information about the dancer-users mailing list