Forum OpenACS Q&A: Re: Permission Denied when installing OpenACS

Collapse
Posted by Adam Aggeusz Jaworski on
Hello,

after installing PostgreSQL you should became root to continue
with installation, while from you have here it seems you are
trying to do it as user 'service001' which is wrong

HTH

Adam

Collapse
Posted by Aash SH on
If I'm not mistaken the documentation said that we must become the service user for the installation, not root, like this:

[root root]# su - $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver
[$OPENACS_SERVICE_NAME aolserver]$ tar xzf /tmp/openacs-5.1.4.tgz
[$OPENACS_SERVICE_NAME aolserver]$ mv openacs-5.1.4 $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ chmod -R 775 $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ chown -R
$OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME aolserver]$ ls -al

_taken from https://openacs.org/doc/openacs-5-1/openacs.html

..but you said that root account should be used. How could this possible? Should I really use root instead?