file permissions

Events happening in the community are now at Drupal community events on www.drupal.org.

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

Posted by katannshaw on September 4, 2012 at 9:34pm

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

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

Posted by that0n3guy on September 24, 2010 at 5:13pm

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

Any suggestions for setting files directory permissions with Aegir?

Posted by bryanhirsch on April 27, 2010 at 12:20am

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

fixing file permission errors

Posted by spangaroo on April 26, 2010 at 11:57pm

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

AltStyle によって変換されたページ (->オリジナル) /