[Zope] Unable to pack - permission denied error
Steen Suder
CAB@Earthling.net
Sun, 09 Jan 2000 21:05:40 +0100
Steve Froggatt wrote:
>
> Thanks for your help.... here goes
>
> Zope Directory
>
> total 462
> drwxr-xr-x 13 506 users 1024 Jan 7 22:53 .
> drwxrwsr-x 5 httpd site2 1024 Jan 3 09:47 ..
> -rw-r--r-- 1 506 users 28 Nov 9 16:47 .cvsignore
> drwxr-xr-x 2 223 site2 1024 Oct 19 01:58 Extensions
> -rw-rw-r-- 1 223 site2 13731 Dec 20 10:03
> KnowledgeKit-1.6.7.tar
> -rw-r--r-- 1 506 users 3479 Mar 10 1999 LICENSE.txt
> drwxrwxr-x 2 223 site2 1024 Dec 28 12:48 MySQLdb-0.1.0
> -rw-rw-r-- 1 223 site2 35534 Dec 20 10:03 MySQLdb-0.1.0.tar.tar
> -rw-r--r-- 1 506 users 2074 Jul 23 20:51 README.txt
> -rw-rw-r-- 1 223 site2 5337 Dec 20 10:04
> SessionManager-0.1.tar.tar
> -rw-rw-r-- 1 223 site2 246231 Dec 20 10:46 Squishdot-0-3-2.tar
> drwxr-xr-x 4 506 users 1024 Dec 14 15:38 ZServer
> -rwxr-xr-x 1 223 site2 656 Dec 31 15:38 Zope.cgi
> -rw-rw-r-- 1 223 site2 12288 Dec 20 10:04 ZpdfDocument.tar
> -rw------- 1 223 site2 38 Dec 20 09:45 access
> drwxr-xr-x 3 506 users 1024 Dec 14 15:38 doc
> drwxr-xr-x 3 223 site2 1024 Dec 28 12:48 import
> drwxr-xr-x 2 506 users 1024 Dec 14 15:38 inst
> -rw-rw-r-- 1 223 site2 19802 Dec 21 07:36 kmnn-1-0-0.tgz
> drwxr-xr-x 4 506 users 1024 Dec 14 15:38 lib
> drwxr-xr-x 7 506 users 1024 Dec 31 15:38 pcgi
> -rw-rw-r-- 1 223 site2 18075 Dec 20 10:04 psqlinputwiz1-0-3.tar
> -rwx--x--x 1 223 site2 141 Dec 31 10:55 start
> -rwx--x--x 1 root users 145 Dec 20 09:44 start~
> -rwx--x--x 1 223 site2 77 Dec 20 09:44 stop
> drwxrwxr-x 2 223 site2 1024 Dec 20 10:13 stuff
> -rw-rw-r-- 1 223 site2 6154 Dec 20 10:22 tar.help
> drwxr-xr-x 2 506 users 1024 Dec 14 15:38 utilities
> drwxrwx--x 3 506 users 1024 Jan 9 18:22 var
> -rw-r--r-- 1 506 users 4492 Jul 22 23:00 w_pcgi.py
> -rw-rw-r-- 1 223 site2 1359 Dec 20 09:40 w_pcgi.pyc
> -rw-r--r-- 1 506 users 4578 Oct 14 15:54 wo_pcgi.py
> -rw-rw-r-- 1 223 site2 1506 Dec 20 09:39 wo_pcgi.pyc
> -rw-r--r-- 1 506 users 17936 Jan 7 22:53 z2.py
> -rw-rw-r-- 1 223 site2 10763 Dec 20 09:40 z2.pyc
> -rw-r--r-- 1 root users 17927 Jan 1 18:44 z2.py~
> -rw-r--r-- 1 506 users 8806 Oct 28 18:54 zpasswd.py
> -rw-rw-r-- 1 223 site2 5425 Dec 20 09:40 zpasswd.pyc
>
> var directory
> -rw-rw-r-- 1 root users 24737 Jan 9 18:12 #Z2.log#
> drwxrwx--x 3 506 users 1024 Jan 9 18:22 .
> drwxr-xr-x 13 506 users 1024 Jan 7 22:53 ..
> -rw-r--r-- 1 506 users 105 Nov 9 16:46 .cvsignore
> -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs
> -rw-r--r-- 1 506 users 76750 Jun 24 1999 Data.fs.in
> -rw-rw-r-- 1 nobody site2 65007 Dec 27 13:30 Data.fs.index
> -rw-rw-r-- 1 223 site2 5 Jan 9 18:22 Data.fs.lock
> -rw-rw-r-- 1 223 site2 0 Jan 9 18:22 Data.fs.tmp
> -rw-rw-r-- 1 root site2 7779 Dec 28 11:00 Data.fs.tr0
> -rw-rw-r-- 1 root users 34073 Jan 9 19:12 Z2.log
> -rw-rw-r-- 1 nobody users 9 Jan 9 18:22 Z2.pid
> drwxrwxr-x 4 223 site2 1024 Dec 22 12:28 gadfly
> -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 pcgi.pid
> srwxrwxrwx 1 root users 0 Jan 9 18:22 pcgi.soc
> -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 zProcessManager.pid
>
> Zope is set for user nobody
>
> This is the start file
>
> #! /bin/sh
> reldir=`dirname $0`
> PYTHONHOME=`cd $reldir; pwd`
> export PYTHONHOME
> exec /usr/local/bin/python \
> $PYTHONHOME/z2.py \
> "$@"
>
> Steve
Quite a mess!
If you have a Linux box handy, try and do a fresh install on that and
see what permissions the files are installed with.
Follow the instructions in the install file in the package!!!
I'm busy right now, thus the short answer. I might get back.
Please cc mails to list also; that's how everyone learns.
--
Best regards / Mvh.,
Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/