I am using Advagg and Amazons3 Module, which is causing this error:

temporary://fileh4Oxvi could not be copied, because the destination directory is not properly configured.

Files are getting created in "tmp" folder but that has been not copied to s3 bucket.

I had given the "tmp" folder 755 and even 777, which is not working. And I even tried Configuring the temporary directory, which is not working even.

Any inputs are really appreciated.


...could not be copied, because the destination directory...

The temp folder is the source in this context, Drupal is complaining that the destination is not writable.

You need to make your public file system (usually sites/default/files) writable by the web server user.

  • I tried with 755 and even 777, both generates the same error.
    – NTT
    Jul 25 '17 at 9:02
  • 2
    If your web server can definitely write to both the /tmp folder and the destination folder, the problem is something server-specific that would need more information to be able to help solve. Don't use 777 by the way, set up proper users/groups instead and use 755/644 or whatever makes sense for your setup
    – Clive
    Jul 25 '17 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.