[aegir] Permissions on site's files dir after provision-verify

Brian Wood bwood at berkeley.edu
Fri Sep 17 13:30:03 EST 2010


  I migrated a site onto one of my new aegir (head) managed platforms.  
When I first visited it, saw

"Unable to create CTools CSS cache directory. Check the permissions on 
your files directory."

and a bunch of css wasn't loading.  So I did

'chgrp -R apache site/ex.com/files/' and visited admin/build/themes and 
all was good.

Then I re-verified the site and all of the problems reappeared.  I can 
re-correct the site with these non recursive chgrps

  1121  chgrp apache files/ctools/css
  1122  chgrp apache files/css
  1131  chgrp apache files/ctools

I think these other directories might need help:

[app_aegir at dev-100-cms hrweb]$ find files/ -type d |xargs ls -ld |grep 
-v apache
drwxrwx---  2 app_aegir app_aegir 20480 Sep 16 19:57 files/attachments
drwxrwx---  3 app_aegir app_aegir  4096 Jul 19 23:23 files/imagecache
drwxrwx---  2 app_aegir app_aegir  4096 Jul 19 23:23 
files/imagecache/150x150_sc
drwxrwx---  3 app_aegir app_aegir  4096 Jul 19 23:23 files/imagefield_thumbs
drwxrwx---  2 app_aegir app_aegir  4096 Jul 19 23:23 
files/imagefield_thumbs/images
drwxrwx---  3 app_aegir app_aegir  4096 Sep  9 14:51 files/resize
drwxrwx---  3 app_aegir app_aegir  4096 Jul 19 23:23 files/resize/resize
drwxrwx---  2 app_aegir app_aegir  4096 Jul 19 23:23 
files/resize/resize/resize
drwxrwx---  3 app_aegir app_aegir  4096 Jul 19 23:23 files/sites
drwxrwx---  2 app_aegir app_aegir  4096 Jul 19 23:23 
files/sites/hrweb-dev.berkeley.edu

Is the problem me or is it provision-verify?

-- 
Brian Wood
Applications Programmer
UC Berkeley: http://ist.berkeley.edu





More information about the aegir mailing list