[Zope-CVS] CVS: Zope - z2.py:1.78.2.2

Matt Behrens matt@zigg.com
Fri, 9 Aug 2002 12:40:37 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv21936

Modified Files:
      Tag: Zope-2_7-development-branch
	z2.py 
Log Message:
merge setuid() doco from HEAD


=== Zope/z2.py 1.78.2.1 => 1.78.2.2 ===
--- Zope/z2.py:1.78.2.1	Wed Jul 17 17:15:03 2002
+++ Zope/z2.py	Fri Aug  9 12:40:35 2002
@@ -766,7 +766,8 @@
                 raise SystemExit, 'initgroups is required to safely setuid'
             if UID == None:
                 raise SystemExit, ('A user was not specified to setuid '
-                                   'to; fix this to start as root')
+                                   'to; fix this to start as root (see '
+                                   'doc/SETUID.txt)')
             import stat
             client_home_stat = os.stat(CLIENT_HOME)
             client_home_faults = []
@@ -775,7 +776,8 @@
             if client_home_stat[stat.ST_UID] != 0:
                 client_home_faults.append('is not owned by root')
             if client_home_faults:
-                client_home_faults.append('fix this to start as root.')
+                client_home_faults.append('fix this to start as root (see '
+                                          'doc/SETUID.txt)')
                 err = '%s %s' % (CLIENT_HOME, ', '.join(client_home_faults))
                 raise SystemExit, err