setup.sh not setting permissions, tiki-install.php not reading them
I'm having some issues installing tiki 1.8.5 on RedHat Fedora Core 3. When I run setup.sh, it doesn't appear to do anything:
[msafford@vasu-test wikiwiki]$ chmod +x setup.sh [msafford@vasu-test wikiwiki]$ time su -c './setup.sh apache' Password: real 0m2.019s user 0m0.016s sys 0m0.037s [msafford@vasu-test wikiwiki]$ ls -la tiki-install.php -rw-rw-r-- 1 msafford msafford 21691 Jan 15 04:50 tiki-install.php
When I change the permissions manually, tiki-install.php doesn't detect them:
Tiki Installer cannot proceed:
The directory '/backups' is not writeable.
The directory '/db' is not writeable.
The directory '/dump' is not writeable.
The directory '/img/wiki' is not writeable.
The directory '/img/wiki_up' is not writeable.
The directory '/modules/cache' is not writeable.
The directory '/temp' is not writeable.
The directory '/temp/cache' does not exist.
The directory '/templates_c' is not writeable.
The directory '/templates' is not writeable.
The directory '/styles' is not writeable.
The directory '/lib/Galaxia/processes' is not writeable.
[msafford@vasu-test wikiwiki]$ mkdir temp/cache [msafford@vasu-test wikiwiki]$ chmod 02777 backups db dump img/wiki img/wiki_up modules/cache temp temp/cache templates_c templates styles lib/Galaxia/processes [msafford@vasu-test wikiwiki]$ ls -l | grep drwx drwxrwsrwx 2 msafford msafford 4096 Jan 20 19:11 backups drwxrwsrwx 3 msafford msafford 4096 Jan 20 19:11 db drwxrwxr-x 2 msafford msafford 4096 Jan 20 19:11 doc drwxrwsrwx 2 msafford msafford 4096 Jan 20 19:11 dump drwxrwxr-x 4 msafford msafford 4096 Jan 20 19:11 games drwxrwxr-x 2 msafford msafford 4096 Jan 20 19:11 images drwxrwxr-x 14 msafford msafford 4096 Jan 20 19:11 img drwxrwxr-x 26 msafford msafford 4096 Jan 20 19:11 lang drwxrwxr-x 91 msafford msafford 4096 Jan 20 19:11 lib drwxrwxr-x 3 msafford msafford 4096 Jan 20 19:11 modules drwxrwxr-x 2 msafford msafford 4096 Jan 20 19:11 popups drwxrwsrwx 26 msafford msafford 4096 Jan 20 19:11 styles drwxrwsrwx 4 msafford msafford 4096 Jan 31 12:53 temp drwxrwsrwx 8 msafford msafford 20480 Jan 20 19:12 templates drwxrwsrwx 2 msafford msafford 4096 Jan 20 19:11 templates_c drwxrwxr-x 2 msafford msafford 4096 Jan 20 19:11 tikimovies
The directories are clearly showing a mode of 777. I then reload tiki-install.php:
Tiki Installer cannot proceed:
The directory '/backups' is not writeable.
The directory '/db' is not writeable.
The directory '/dump' is not writeable.
The directory '/img/wiki' is not writeable.
The directory '/img/wiki_up' is not writeable.
The directory '/modules/cache' is not writeable.
The directory '/temp' is not writeable.
The directory '/temp/cache' is not writeable.
The directory '/templates_c' is not writeable.
The directory '/templates' is not writeable.
The directory '/styles' is not writeable.
The directory '/lib/Galaxia/processes' is not writeable.
Anyone know what might be happening?