How do you give permission to magickwand to write images?
Posted: 2009-07-10T14:39:23-07:00
I am getting this error when I try to write an image that I have rotated with my testing code:
So Im assuming there must be some user or group I need to give permissions to so that magickwand can write? I tried with the apache user "www-data" but that didnt work.... Which one do I use? Do I need to create one for magickwand?
Using Ubuntu 9.04 btw.
However if I set permissions on the "www" folder so that "Others" can create & delete I can successfully write an image.Fatal error: magickwriteimage(): C API cannot write the image at MagickWand index 0 to filename "logo.jpg" (reason: unable to open image `/var/www/logo.jpg': Permission denied @ blob.c/OpenBlob/2480) [on C source line 374] in /var/www/testrotate.php on line 11
So Im assuming there must be some user or group I need to give permissions to so that magickwand can write? I tried with the apache user "www-data" but that didnt work.... Which one do I use? Do I need to create one for magickwand?
Using Ubuntu 9.04 btw.