Closed (fixed)
Project:
Provision
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 10:49 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
When I try to do a clean install of aegir on Squeeze using the Debian packages it fails on a permission problem. See below.
It seems that the /var/aegir/config directory is created as owned by root.
When I manually chown it, and try again the installation completes successfully.
+ echo 'installing the Aegir frontend (Drupal with the hostmaster profile), please wait...'
installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
+ su aegir -c 'drush hostmaster-install --yes --debug --backend aegirtest.local | drush backend-parse'
Bootstrap to phase 0. [0.11 sec, 2.13 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.12 sec, 2.31 MB] [bootstrap]
chown(): Operation not permitted provision.file.inc:195 [warning]
Provision configuration root ownership of /var/aegir/config could not[error]
be changed to aegir. (chown to aegir failed on /var/aegir/config)
Provision configuration root permissions of /var/aegir/config could [error]
not be changed to 711. (chmod to 711 failed on /var/aegir/config)
Provision configuration root path /var/aegir/config is not writable. [error]
mkdir(): Permission denied provision.file.inc:106 [warning]
Provision configuration path /var/aegir/config/server_localhost could[error]
not be created.
chown(): Operation not permitted provision.file.inc:195 [warning]
Provision configuration root ownership of /var/aegir/config could not[error]
be changed to aegir. (chown to aegir failed on /var/aegir/config)
Provision configuration root permissions of /var/aegir/config could [error]
not be changed to 711. (chmod to 711 failed on /var/aegir/config)
Provision configuration root path /var/aegir/config is not writable. [error]
mkdir(): Permission denied provision.file.inc:106 [warning]
Provision configuration path /var/aegir/config/server_master could [error]
not be created.
mkdir(): Permission denied provision.file.inc:106 [warning]
Provision PHP configuration path /var/aegir/config/includes could not[error]
be created.
mkdir(): Permission denied provision.file.inc:106 [warning]
Could not create directory /var/aegir/config/includes. [warning]
Aegir 6.x-1.0-rc6 automated install script
Comments
Comment #1
anarcat commentedi have fixed this in my tree and will roll out the fix with rc7 packages.