[Zope] Problem with permissions

robert rottermann robert at redcor.ch
Thu May 13 01:31:00 EDT 2004


Clayton T. Dillard wrote:

> 
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi All,
>    I have just installed Zope version 2.7.0 and CMF version 1.4.3 on
>SuSE 9.  I've followed the INSTALL directions for both Zope and CMF
>but when I try to start Zope I get the following error:
> 
>Traceback (most recent call last):
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 49, in ?
>    run()
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 19, in
>run
>    start_zope(opts.configroot)
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 51,
>in start_zope
>    starter.startZope()
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 230,
>in startZope
>    Zope.startup()
>  File "/opt/Zope-2.7/lib/python/Zope/__init__.py", line 46, in
>startup
>    _startup()
>  File "/opt/Zope-2.7/lib/python/Zope/App/startup.py", line 54, in
>startup
>    DB = configuration.dbtab.getDatabase('/', is_root=1)
>  File "/opt/Zope-2.7/lib/python/DBTab/DBTab.py", line 96, in
>getDatabase
>    db = self._createDatabase(name, is_root)
>  File "/opt/Zope-2.7/lib/python/DBTab/DBTab.py", line 113, in
>_createDatabase
>    db = factory.open()
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line
>172, in open
>    DB = self.createDB()
>  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line
>169, in createDB
>    return ZODBDatabase.open(self)
>  File "/opt/Zope-2.7/lib/python/ZODB/config.py", line 97, in open
>    return ZODB.DB(section.storage.open(),
>  File "/opt/Zope-2.7/lib/python/ZODB/config.py", line 128, in open
>    quota=self.config.quota)
>  File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 232, in
>__init__
>    self._lock_file = LockFile(file_name + '.lock')
>  File "/opt/Zope-2.7/lib/python/ZODB/lock_file.py", line 60, in
>__init__
>    self._fp = open(path, 'w+')
>IOError: [Errno 13] Permission denied:
>'/data/sszope/var/Data.fs.lock'
>
>Can anyone shed some light on why I'm having this error?  Thanks in
>advance.
> 
>Clayton T. Dillard
>SECURESPEED, LLC
>Office: (919) 557-5126
>Mobile: (919) 395-9870
>Fax: (919) 577-0943
>Email: cdillard at securespeed.cc
>"Information Assurance and Security Solutions"
> 
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP 8.0.3
>
>iQA/AwUBQKLTGevKXu6K7abIEQL3vQCgtJEtKwFqNBGf3/e6htNq5+qw5KwAn0Gq
>qLiy9p/dRwnvfYadksIACAfd
>=zoCA
>-----END PGP SIGNATURE-----
>
>
>_______________________________________________
>Zope maillist  -  Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
>  
>
the user zope is running under (probably zope or nobody) need write 
access in

/data/sszope/var

You can controll which userid zope is using with the effective_user (or 
such) key  in

/data/sszope/etc/zope.conf

KTH
Robert






More information about the Zope mailing list