file permissions

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
katannshaw's picture

How to Set Up "sites/default/files" Permissions Properly on Windows

Thanks for any help. I thought this would be the perfect place to ask my question.

My setup: Drupal 7.15 / IIS 7.5 / PHP5.3 / SQL Server 2008

I started receiving these crazy "Permission denied in drupal_unlink()" errors after an update from 7.13 to 7.14 (and then 7.15). At first, I focused on the permissions for the tmp directory. But after getting some assistance from Drupal's issue queue, I was able to pinpoint the problem as being related to the "sites/default/files" directory.

Read more
that0n3guy's picture

Aegir does not clone/migrate/BACKUP correctly because of file permissions

I've notice several modules, including cores upload.module, upload files with the permissions 600... which aegir cant read. These files never get moved or backed-up during aegir processes. I always have to chown/chmod files before doing a clone or backup.

This is a huge pain in the rear.

How is everyone dealing with this? Is everyone just not using drupals upload module?

Read more
bryanhirsch's picture

Any suggestions for setting files directory permissions with Aegir?

One of my platforms requires the files directory to be owned by www-data. There must be a hook somewhere that will let me automate running this every time I create a new installation of this particular platform:

$ cd /var/aegir/platforms/myplatform/sites/mynewinstallation.com/
$ chown -R www-data.www-data files/

Any suggestions?

Read more
spangaroo's picture

fixing file permission errors

I've been receiving minor warnings whenever I try and verify a site. If there's even a single file without the correct aegir:www-data permissions, you'll get a yellow warning when the site verifies. The most common one I see is:

Could not change permissions sites/mydomain.com to 493 (chmod to 755 failed on sites/mydomain.com)

If you're new to Aegir like me but want to get rid of the file permissions error, you can try these commands:

cd /var/aegir/platforms/drupal-6.16/sites

chown -R aegir:www-data mydomain.com/*
Read more
Subscribe with RSS Syndicate content