[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Installing and Starting Zope

webmaster at zope.org webmaster at zope.org
Sun Dec 7 07:50:43 EST 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/InstallingZope.stx#3-47

---------------

      You must also make sure the "var" directory is owned by root, and that
      it has the sticky bit set.  This is done by the command 'chmod o+t
      var' on most systems.  When the sticky bit is set on a directory,
      anyone can write files, but nobody can delete others' files in order
      to rewrite them.  This is necessary to keep others from overwriting
      the PID file, tricking root into killing processes when 'stop' is run.

        % Anonymous User - Dec. 7, 2003 7:50 am:
         Note: for Zope 2.7, none of this permission-sticky-bit-setting nonsense is necessary. Instead, just set the
         effective-user parameter to an existing (nonroot) username in the zope.conf file and start Zope as root. All
         files including log and pid files will be written as the lesser-privileged user.



More information about the ZDP mailing list