Hello,
I have a symlink from piwigo gallaries folder to my file system for photo storage, it works fine except that I cannot delete any photos, e.g. using the batch manager. Is there a way to get delete to work through symlink?
Error message:
Warning: unlink(././galleries/pictures/2016_September/2016-09-02 07.50.28.jpg): Permission denied in /var/www/piwigo/admin/include/functions.php on line 240 Warning: "././galleries/pictures/2016_September/2016-09-02 07.50.28.jpg" cannot be removed in /var/www/piwigo/admin/include/functions.php on line 243
Obviously, the file "././galleries/pictures/2016_September/2016-09-02 07.50.28.jpg" doesn't exists, the correct path is "/var/pictures/2016_September/2016-09-02 07.50.28.jpg". How to make Piwigo understand that?
Setup:
>/var/www/piwigo/galleries$ ls -all
...
-rwxr-xr-x 1 www-data www-data 1765 jul 7 18:36 index.php
lrwxrwxrwx 1 anders familjen 14 nov 21 2015 pictures -> /var/pictures/
>df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/mapper/raid-pictures 100G 67G 28G 71% /var/pictures
Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://
Offline