Hi All,
I am having issues uploading content. I have enabled debug mode and here is the error I am seeing
Warning: copy(/gallery2/g2data/albums/album/album/flyfish/p_00030.jpg) [function.copy]: failed to open stream: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 65
This is what line 65 shows in the GalleryPlatform.class file
$results = copy($source, $dest);
umask($umask);
Are there any permissions I need to reset or anything I need to do to get this to work?
Thanks,
Georgi
Posts: 8339
your g2data should not be out in a public space, if you can move it behind your public root.
Then you'll have to fix the permissions on that directory recursively ie.
chmod -R 0777 /full/system/path/to/g2data
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
-s
Posts: 7
Sweet! Thanks, that worked. I removed our private path out of the paths in my first comment.