Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied on /var/aegir/config #15

Open
p1ratrulezzz opened this issue Dec 23, 2016 · 1 comment
Open

Permission denied on /var/aegir/config #15

p1ratrulezzz opened this issue Dec 23, 2016 · 1 comment

Comments

@p1ratrulezzz
Copy link

Do you really want to proceed with the install (y/n): y
hostmaster_1 | sudo: no tty present and no askpass program specified
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration root path /var/aegir/config could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration path /var/aegir/config/self could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision client home path /var/aegir/clients could not be created. [error]
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration root path /var/aegir/config could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration path /var/aegir/config/self could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision client home path /var/aegir/clients could not be created. [error]
hostmaster_1 | Caught drush error, ending drush_provision_hostmaster_install [error]
hostmaster_1 | Array [error]
hostmaster_1 | (
hostmaster_1 | [DRUSH_PERM_ERROR] => Array
hostmaster_1 | (
hostmaster_1 | [0] => Provision configuration root path
hostmaster_1 | /var/aegir/config could not be created.
hostmaster_1 | [1] => Provision configuration path
hostmaster_1 | /var/aegir/config/self could not be created.
hostmaster_1 | [2] => Provision client home path /var/aegir/clients
hostmaster_1 | could not be created.
hostmaster_1 | [3] => Provision configuration root path
hostmaster_1 | /var/aegir/config could not be created.
hostmaster_1 | [4] => Provision configuration path
hostmaster_1 | /var/aegir/config/self could not be created.
hostmaster_1 | [5] => Provision client home path /var/aegir/clients
hostmaster_1 | could not be created.
hostmaster_1 | )

The /var/aegir folder looks like not owned by aegir user. I investigated and found out that it is owned by root

@p1ratrulezzz
Copy link
Author

Found workaround

chmod 777 aegir-home
chmod 777 aegir-home/.drush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant