Hello,

if you use private download and choose a directory outside of the private download directory, creating the .htaccess files will constantly fail, because file_copy only works within the files or tmp folder.

How to reproduce:
Set download to private download.
File directory: /var/www/files
Drupal root: /var/www/htdocs
directory for storing advagg files: /var/www/htdocs/sites/default/files/advagg

This patch should help, I guess?

CommentFileSizeAuthor
#1 use-advagg_file_save_data.patch307 bytesx3cion

Comments

x3cion’s picture

StatusFileSize
new307 bytes

File uploads with opera are broken on drupal.org?

mikeytown2’s picture

Status: Needs review » Fixed

Thanks for the patch! It's been committed. Let me know if you run into any other issues with private downloads :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.