Hi, Well, I'm quite new to Zope, however this seems to be quite strange to me. When trying to pack the database, I get the following error (zope installed from source by root and run by root through start script): Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/zope-2.1.6/var/Data.fs' Traceback (innermost last): File /usr/local/zope-2.1.6/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/zope-2.1.6/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/zope-2.1.6/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: Fake) File /usr/local/zope-2.1.6/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/zope-2.1.6/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_pack) File /usr/local/zope-2.1.6/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_pack) File /usr/local/zope-2.1.6/lib/python/App/ApplicationManager.py, line 338, in manage_pack (Object: ElementWithAttributes) File /usr/local/zope-2.1.6/lib/python/ZODB/DB.py, line 522, in pack File /usr/local/zope-2.1.6/lib/python/ZODB/FileStorage.py, line 883, in pack (Object: /usr/local/zope-2.1.6/var/Data.fs) IOError: (see above) of course, I logged in as superuser, but I can't understand what's wrong. any idea? -- Yann COMBARNOUS E-mail: yann.combarnous@enst-bretagne.fr
On Fri, 7 Apr 2000, Yann COMBARNOUS wrote:
Well, I'm quite new to Zope, however this seems to be quite strange to me. When trying to pack the database, I get the following error (zope installed from source by root and run by root through start script):
That is the point - when Zope is run under root, it automatically drops to nobody, and nobody doesn't have permissions to your Data.fs.
Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/zope-2.1.6/var/Data.fs'
Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Yann COMBARNOUS