Using the install script (v1.8) on Ubuntu 9.04
While on the wizard to install site, i got an error saying:
Drupal sites directory is not writable by the provisioning script
When i looked at the content of /var/aegir, not everything was owned by user aegir
Issuing the command chown -hR aegir:aegir /var/aegir/ solved the problem
I went back to the output of the install script and found this :
(...)
Making settings.php writable
chown: cannot access `/var/aegir/{.,*}[!.]*': No such file or directory
(...)
Maybe the problem is in the following line (of the install script) ?
chown -R $AEGIR_USER:$AEGIR_USER $AEGIR_HOME/{.,*}[!.]*
By the way, Thanks for this superb script ! and obviously for your efforts on aegir !
Comments
Comment #1
Anonymous (not verified) commentedI've just been installing Aegir on Ubuntu 9.04 and I seem to have issues executing commands like 'blah /path/to/{some,stuff}
So far it looks like Ubuntu doesn't play nicely with the aegir user being created with --system flag and not having a bash shell. The /bin/sh shell we drop it into seems different to the Debian one.
Thanks for the bug report!
Comment #2
anarcat commentedThe problem is {.,*}[!.]*. That's bash-specific (I don't even know what it means). It needs to be re-written to be readable by a POSIX shell.
Comment #3
Anonymous (not verified) commentedFixed in HEAD.