I am using filecache
the directory is created but not written to

the directory has permissions and owner: drwxrwxrwx 2 www-data www-data

Comments

SocialNicheGuru created an issue. See original summary.

DamienMcKenna’s picture

Component: Code » Integration with other module
Priority: Normal » Minor
DamienMcKenna’s picture

I've never used filecache and wonder if there's a problem with that module?

SocialNicheGuru’s picture

Project: Metatag » File Cache
Version: 7.x-1.x-dev » 7.x-1.0-beta6
Component: Integration with other module » Code

Ok so the issue is one of permissions.
on the admin/config/media/file-system I defined /tmp as my directory
it has ownership of www-data:www-data

but Drupal is running as aegir user

So the directories could not be made.

I changed my temp directory to
sites//private/tmp

This allows for a little more security if you have multiple sites running on your system
I did have to chown -R aegir:www-data private/tmp

then it all worked

SocialNicheGuru’s picture

aarrgghhh

no instead i could keep the owners the same, www-data:www-data, and

in addition to changing it above I had to chmod 770 sites//private/tmp directory

joelpittet’s picture

Version: 7.x-1.0-beta6 » 7.x-1.x-dev
Priority: Minor » Normal