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

anarcat’s picture

Status: Active » Fixed

i have fixed this in my tree and will roll out the fix with rc7 packages.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit c117636 on debian, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    add bugfix #1123276