summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Vhost.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-11-02 23:30:39 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-11-02 23:30:39 +0000
commit5008f184fa10494a3672fde4525230c5450188de (patch)
treec15388bdb87c891ad23692ac2e89f98381d547ba /src/lib/Server/Plugins/Vhost.py
parent377a82ac6c91c50144dc089c29bfe4e81df7bd35 (diff)
downloadbcfg2-5008f184fa10494a3672fde4525230c5450188de.tar.gz
bcfg2-5008f184fa10494a3672fde4525230c5450188de.tar.bz2
bcfg2-5008f184fa10494a3672fde4525230c5450188de.zip
Second stage of the root->0 backout (from GP)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3906 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Vhost.py')
-rw-r--r--src/lib/Server/Plugins/Vhost.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Vhost.py b/src/lib/Server/Plugins/Vhost.py
index 56b012aa4..5c38cd19e 100644
--- a/src/lib/Server/Plugins/Vhost.py
+++ b/src/lib/Server/Plugins/Vhost.py
@@ -69,7 +69,7 @@ class VhostFile(SingleXMLFileBacked):
entry.text = 'NO_START=0\n'
else:
entry.text = 'NO_START=1\n'
- perms = {'owner':'root', 'group':'0', 'perms':'0644'}
+ perms = {'owner':'root', 'group':'root', 'perms':'0644'}
[entry.attrib.__setitem__(key, value) for (key, value) in perms.iteritems()]
def generateApacheSvc(self, entry, metadata):
@@ -99,7 +99,7 @@ class VhostFile(SingleXMLFileBacked):
line = line.replace("XXchoiceXX", choice)
config += line
entry.text = base64.encodestring(config)
- perms = {'owner':'root', 'group':'0', 'perms':'0644', 'encoding':'base64'}
+ perms = {'owner':'root', 'group':'root', 'perms':'0644', 'encoding':'base64'}
[entry.attrib.__setitem__(key, value) for (key, value) in perms.iteritems()]
class Vhost(Plugin):