Am Samstag, den 23.03.2013, 22:28 +0100 schrieb Janos SUTO: > On 2013-03-23 21:59, Frank Ellebrecht wrote: > >> > > Well, it almost works (build 777, last commit: 6930fe6). > > > > What works (Please see the attached screenshot): > > - link to attachment is shown in UI > > - paper clip icon is displayed in UI > > > > What doesn't work: > > - the link itself > > > > When I click on the link to the attachment, an empty file is opened/a > > file with 0 bytes is downloaded. > > can the webserver write the tmp directory within the gui? > (eg. /var/www/piler.yoursite.com/tmp) >
Yes. # ls -la /var/piler/www/tmp/ insgesamt 12 drwxr-xr-x 2 www-data www-data 4096 23. Mär 20:16 . drwxr-xr-x 11 www-data www-data 4096 23. Mär 20:23 .. -rw-r--r-- 1 www-data www-data 31 23. Mär 20:16 .htaccess # su www-data $ touch /var/piler/www/tmp/test.txt $ ls -la /var/piler/www/tmp insgesamt 12 drwxr-xr-x 2 www-data www-data 4096 23. Mär 22:37 . drwxr-xr-x 11 www-data www-data 4096 23. Mär 20:23 .. -rw-r--r-- 1 www-data www-data 31 23. Mär 20:16 .htaccess -rw-r--r-- 1 www-data www-data 0 23. Mär 22:37 test.txt Server.document-root is /var/piler/www. Nothing in syslog or php_errors.log. Other attachments work fine. Frank