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/*I've got Aegir running at work and on my personal VPS and have had trouble with file permissions mainly due to the TinyMCE module. (All files are uploaded with www-data:www-data permissions.) By running the above commands and then doing a Verify, everything shows up green and clear.
Comments
I think I have a similar
I think I have a similar issue, and I'm also confused about file ownership.
In trying to import an existing site into aegir, I'm having similar problems, and I think the file(s) ownership might be the problem.
For example, my hostmaster /sites directory has the following permissions and ownership:
sh-3.2$ ls -l
total 80
-rw------- 1 aegir aegir 50765 Apr 22 22:37 drushrc.php
drwxrws--- 5 aegir www-data 4096 Apr 26 01:08 files
drwxrwsr-x 2 aegir aegir 4096 Apr 17 00:01 libraries
drwxrwsr-x 2 aegir aegir 4096 Apr 17 00:01 modules
drwxr-xr-x 4 aegir aegir 4096 Apr 17 00:01 private
-r--r----- 1 aegir www-data 3053 Apr 22 22:37 settings.php
drwxrwsr-x 2 aegir aegir 4096 Apr 17 00:01 themes
and the site I'm trying to import has this:
sh-3.2$ ls -l
total 36
-rw-r--r-- 1 aegir aegir 6478 May 1 2009 civicrm.settings.php
-rw-r--r-- 1 aegir aegir 8917 Apr 7 2009 default.settings.php
drwxr-xr-x 8 aegir aegir 4096 May 1 2009 files
-rwxrwxrwx 1 aegir aegir 8914 Apr 27 06:12 settings.php
sh-3.2$
My question, I guess is what is correct for the files and/or directories...should they all be owned by the www-data group, or only some of them...???
Thanks for your help!
sites not available in browser after apache2 upgrade to 2.2.22
I get internal server errors and can't reach any aegir hostmaster platform sites or my hostmaster site from the browser ater an upgrade to apache 2.2.22 today. I'm guessing it's a permission issue since I drush can see them in the ssh command line.
I notice that ever since I installed aegir, permissions on many files have been set to 114:119 - on my server 114 is postgresql and aegir is 119. This is how i always was for me and it worked ine, I hink.
My questions:
1) Is this normal - to have permissions for aegir hosted site files have the owner as postgresql? I am using mysql on this server, and there is nothing in the postgresql db
2) Is this no-browser-display of the aegir sites ONLY a permission error probably (other sites on the same server are still displaying in the browser)? Could this be a suPHP problem?
I am using latest hostmaster 6.19
Thanks for any help; the above fix didn't work for me.