[Zope] Zope 2.6.3 and packing
Roel Van den Bergh
roel at planetinterior.com
Fri Jan 16 08:54:41 EST 2004
Hi,
I just installed a vanilla Zope 2.6.3 build from source with Python 2.1.3
from source, installed CMF and NuxUserGroups on top of it.
Imported a CMF site from a 2.5.1 production Zope server and started playing
around. Did not encounter many problems (yet)
But every time I try to pack the Data.fs I get :
Error Type: IOError
Error Value: [Errno 13] Permission denied:
'/usr/local/zope/2-6-3/var/Data.fs.pack'
I've added 'zope' as a user to the system with 'nologin', added zope to my
group 'roelvdb' and started Zope with option -u zope
I've been playing around with security settings of files and folders, but I
do not seem to get the right combination
Does any one have an idea or a walktrough?
TIA, Roel
[root at w2depost05 2-6-3]# ls -al
total 228
drwxrwxr-x 11 roelvdb roelvdb 4096 Jan 15 14:55 .
drwxrwx--- 5 nobody roelvdb 4096 Jan 16 13:22 ..
-rw-r--r-- 1 roelvdb roelvdb 57 Jul 9 2002 .cvsignore
drwxrwxr-x 5 roelvdb roelvdb 4096 Jan 9 00:05 doc
drwxrwxr-x 2 roelvdb roelvdb 4096 Jan 9 00:05 Extensions
drwxrwxr-x 2 roelvdb roelvdb 4096 Jan 16 13:01 import
drwxrwxr-x 2 roelvdb roelvdb 4096 Jan 15 11:47 inst
drwxrwxr-x 4 roelvdb roelvdb 4096 Jan 9 00:05 lib
-rw-r--r-- 1 roelvdb roelvdb 2366 Nov 28 2001 LICENSE.txt
-rw-r--r-- 1 roelvdb roelvdb 164 May 9 2003 Makefile
drwxrwxr-x 7 roelvdb roelvdb 4096 Jan 15 11:47 pcgi
-rw-r--r-- 1 roelvdb roelvdb 1452 Aug 20 2002 README.txt
-rw-r--r-- 1 roelvdb roelvdb 36545 Apr 30 2003 setup.py
-rw-r--r-- 1 root root 27612 Jan 15 11:47 setup.pyc
-rwx--x--x 1 root root 585 Jan 15 14:55 start
-rwx--x--x 1 root root 55 Jan 15 11:49 stop
-rw-r--r-- 1 roelvdb roelvdb 418 Jul 23 2002 stupid_clean
drwxrwxr-x 3 roelvdb roelvdb 4096 Jan 15 11:47 utilities
drwxr-x--t 2 root roelvdb 4096 Jan 16 14:12 var
-rw-r--r-- 1 roelvdb roelvdb 1468 Aug 14 2002 wo_pcgi.py
-rw-r--r-- 1 root root 1591 Jan 15 11:47 wo_pcgi.pyc
-rw-r--r-- 1 roelvdb roelvdb 1320 Aug 14 2002 w_pcgi.py
-rw-r--r-- 1 root root 1369 Jan 15 11:47 w_pcgi.pyc
-rw-r--r-- 1 roelvdb roelvdb 31559 Jan 15 11:59 z2.py
-rw-r--r-- 1 root root 23223 Jan 15 11:47 z2.pyc
-rwxr-xr-x 1 root root 469 Jan 15 11:47 Zope.cgi
-rw-r--r-- 1 roelvdb roelvdb 6423 May 9 2003 zpasswd.py
-rw-r--r-- 1 root root 6782 Jan 15 11:47 zpasswd.pyc
drwxrwxr-x 5 roelvdb roelvdb 4096 Jan 15 11:47 ZServer
dir var has to be owned by root and have sticky bit set or Zope won't start
[root at w2depost05 2-6-3]# ls var/ -al
total 70792
drwxr-x--t 2 root roelvdb 4096 Jan 16 14:12 .
drwxrwxr-x 11 roelvdb roelvdb 4096 Jan 15 14:55 ..
-rw-r--r-T 1 zope roelvdb 110 Oct 16 2000 .cvsignore
-rw-r--r-T 1 zope roelvdb 72145769 Jan 16 14:32 Data.fs
-rw-r--r-T 1 zope roelvdb 7909 Jun 12 2002 Data.fs.in
-rw-r--r-T 1 zope roelvdb 347 Jan 15 12:00 Data.fs.index
-rw-r--r-- 1 zope roelvdb 102807 Jan 16 14:34
Data.fs.index.index_tmp
-rw-r--r-T 1 zope roelvdb 5 Jan 16 14:12 Data.fs.lock
-rw-r--r-T 1 zope roelvdb 367 Jan 16 14:32 Data.fs.tmp
-rw-r--r-T 1 zope roelvdb 4 Jan 16 14:12 pcgi.pid
srwxrwxrwx 1 root root 0 Jan 16 14:12 pcgi.soc
-rw-r--r-T 1 zope roelvdb 107170 Jan 16 14:34 Z2.log
-rw-r--r-T 1 zope roelvdb 5 Jan 16 14:12 Z2.pid
Traceback (innermost last):
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module App.ApplicationManager, line 354, in manage_pack
Module ZODB.DB, line 526, in pack
Module ZODB.FileStorage, line 1503, in pack
Module ZODB.fspack, line 684, in pack
More information about the Zope
mailing list