Incorrect permissions prevent running ZEO server as unprivileged user
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/
-rw------- 1 root root 6331 Feb 25 03:28 /u01/app/
If 'user' is set to 'zope' in zeo_home/
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.
There's no "make install" procedure anymore and the whole install system has changed massively.