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

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


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

Modified Files:
	z2.py 
Log Message:
document setuid() support, I have had a few questions on this...


=== Zope/z2.py 1.80 => 1.81 ===
--- Zope/z2.py:1.80	Thu Aug  8 16:17:03 2002
+++ Zope/z2.py	Fri Aug  9 12:38:30 2002
@@ -825,7 +825,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 = []
@@ -834,7 +835,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