[Zope] Zope 2.6.3 and packing

FLORAC Thierry thierry.florac at onf.fr
Fri Jan 16 09:39:29 EST 2004


On Friday 16 January 2004 14:54, Roel Van den Bergh wrote:
> 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?
>
> [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


  Hi,

you may have a write access in /var directory, because Data.fs.pack is a new 
temporary file which is created during packing :

  chmod g+w ${ZOPE_HOME}/var

Or :

  chown zope ${ZOPE_HOME}/var


Thierry




More information about the Zope mailing list