Incorrect permissions prevent running ZEO server as unprivileged user

Bug #143693 reported by Bug Importer
0
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Medium
Unassigned

Bug Description

When Zope in installed 'make install' it sets permissions on several critical XML files too restrictively, which prevents running ZEO as an unprivileged user. Because the XML files are owned by root with permissions 0600, ZEO can not be run with the 'user' directive set to anything other than 'root'.
Example:
[root@akcux157 dev]# ls -AlF /u01/app/zope-2.8.6/lib/python/ZODB/component.xml
-rw------- 1 root root 6331 Feb 25 03:28 /u01/app/zope-stable/lib/python/ZODB/component.xml
If 'user' is set to 'zope' in zeo_home/etc/zeo.conf, ZEO will not be able to start.

The only solution is either to chmod -R +r all of zope/lib/ (there is more than one .xml file set this way) or to run ZEO as root.

Tags: bug zope
Revision history for this message
Hanno Schlichting (hannosch) wrote :

There's no "make install" procedure anymore and the whole install system has changed massively.

Changed in zope2:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.