r869 - in zope-common/trunk: . debian
bzed-guest at alioth.debian.org
bzed-guest at alioth.debian.org
Mon May 14 11:37:37 UTC 2007
Author: bzed-guest
Date: 2007-05-14 11:37:37 +0000 (Mon, 14 May 2007)
New Revision: 869
Modified:
zope-common/trunk/debian/changelog
zope-common/trunk/dzhandle
Log:
- the bin directory of a new Zope instance should be owned by
root:root as the scripts inside the directory are executed by
root while starting/stopping the Zope instance. Thanks to
Bastian Blank for reporting. (Closes: #388072)
Modified: zope-common/trunk/debian/changelog
===================================================================
--- zope-common/trunk/debian/changelog 2007-05-14 11:36:36 UTC (rev 868)
+++ zope-common/trunk/debian/changelog 2007-05-14 11:37:37 UTC (rev 869)
@@ -1,4 +1,4 @@
-zope-common (0.5.33) UNRELEASED; urgency=low
+zope-common (0.5.33) UNRELEASED; urgency=high
* dzhandle:
- adding support for mkzopeinstance --skelsrc. You're now able to
@@ -7,8 +7,12 @@
dict in a reuseable way. Versions can be limited by using -z.
- fixing a bug which made dzhandle choke on manually installed,
non-Debian products (Closes: #417745, #422875)
+ - the bin directory of a new Zope instance should be owned by
+ root:root as the scripts inside the directory are executed by
+ root while starting/stopping the Zope instance. Thanks to
+ Bastian Blank for reporting. (Closes: #388072)
- -- Bernd Zeimetz <bernd at bzed.de> Mon, 14 May 2007 11:02:34 +0200
+ -- Bernd Zeimetz <bernd at bzed.de> Mon, 14 May 2007 13:29:11 +0200
zope-common (0.5.32) unstable; urgency=low
Modified: zope-common/trunk/dzhandle
===================================================================
--- zope-common/trunk/dzhandle 2007-05-14 11:36:36 UTC (rev 868)
+++ zope-common/trunk/dzhandle 2007-05-14 11:37:37 UTC (rev 869)
@@ -1528,6 +1528,12 @@
if rv:
subprocess.call(['/bin/rm', '-fr', self.instance_home])
sys.exit(rv)
+
+ #giving the bin dir to root:root (#388072)
+ for chown_file in os.listdir(os.path.join(self.instance_home, 'bin')):
+ os.chown(os.path.join(self.instance_home, 'bin', chown_file), 0, 0)
+ os.chown(os.path.join(self.instance_home, 'bin'), 0, 0)
+
instance = ZopeInstance(self.instance_home, self.zversion, read_dzfile=False)
instance.set_addon_mode(self.options.amode)
instance.set_addon_technique(self.options.atechnique)
More information about the pkg-zope-commits
mailing list