Hello community,
I am trying to set a new site called "bananaworld" by following the instructions described at https://openacs.org/doc/openacs-HEAD/openacs.html
1) When I create a user as described at the "Set up a user account for each site" section and later after, try to change to the /var/lib/aolserver (after 'su - bananaworld'), I get a permission denied error:
[root root]# useradd bananaworld
[root root]# su - bananaworld
[root root]# cd /var/lib/aolserver
-bash: cd: /var/lib/aolserver: Permission denied
Q1.- Do I have to add this user to the web group? I did:
[root root]# usermod g bananaworld G web bananaworld
2) At the "Installation Option 2: Install from tarball" section there are some "copy+paste" lines at the end of step 1. They are different from the above shown.
I will mark those lines with "<---"
:
:
[root root]# su - service0
[service0 service0]$ cd /var/lib/aolserver
[service0 aolserver]$ tar xzf /tmp/openacs-5.1.0d2.tgz
[service0 aolserver]$ mv openacs-5.1.0d2 service0
[service0 aolserver]$ chmod -R 775 service0
[service0 aolserver]$ chown -R service0.service0 service0 <---
[service0 aolserver]$ ls -al
:
:
su - service0
cd /var/lib/aolserver
tar xzf /tmp/openacs-5.1.0d2.tgz
mv openacs-5.1.0d2 service0
chmod -R 755 service0
chgrp -R service0.service0 service0 <----
exit
Q2.- Are chgrp and chown work the same for this purpose?
3) when I do a ls -la i get the following:
drwxrwx--- 3 root web 1024 Mar 29 16:41 .
drwxr-xr-x 25 root root 1024 Mar 29 16:24 ..
drwx------ 7 bananaworld bananaworld 1024 Jan 6 14:36 service0
If I want to ls -al to display as shown:
drwxrwx--- 3 root web 1024 Mar 29 16:41 .
drwxr-xr-x 25 root root 1024 Mar 29 16:24 ..
drwx------ 7 bananaworld web 1024 Jan 6 14:36 bananaworld
Q3.- Do I have to change the previously marked line to 'chgrp -R bananaworld.web bananaworld' ?
4) I can't do "Installation Option 1" because I have no Internet access for doing a cvs but I want to use the automated installation script.
Q4.- Can I edit and run the install.tcl for an automated install?
[root root]# su - bananaworld
[bananaworld bananaworld]$ cd /var/lib/aolserver
[bananaworld aolserver]$ tar xfz /tmp/oacs-5.0.0.tar.gz
[bananaworld aolserver]$ mv oacs-5.0.0 bananaworld
[bananaworld aolserver]$ emacs bananaworld/etc/install/install.tcl
[bananaworld aolserver]$ chmod -R 755 bananaworld
[bananaworld aolserver]$ chown -R bananaworld.web bananaworld
[bananaworld aolserver]$ exit
[root root]# sh /var/lib/aolserver/bananalib/etc/install/install.sh
Many thanks,