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
pfrenssen’s picture

Status: Active » Closed (outdated)

Drupal 7 is end-of-life, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.