summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-02-21 18:50:36 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-02-21 18:50:36 +0000
commit38d8ab7920cee3699aa23eed3e8126c96b134152 (patch)
tree4226eb4fa0307ebe1c3ac04f8da6ce5e073552e1 /src/sbin
parente0b683791dff25ecbfdd5217c61ba370dd51ba1b (diff)
downloadbcfg2-38d8ab7920cee3699aa23eed3e8126c96b134152.tar.gz
bcfg2-38d8ab7920cee3699aa23eed3e8126c96b134152.tar.bz2
bcfg2-38d8ab7920cee3699aa23eed3e8126c96b134152.zip
fix cache file perms
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1759 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg21
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index 1d0e4bd20..99558ac08 100755
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -327,6 +327,7 @@ class Client:
if self.setup['cache']:
try:
open(self.setup['cache'], 'w').write(rawconfig)
+ os.chmod(self.setup['cache'], 33152)
except IOError:
self.warning_error("failed to write config cache file %s" %
(self.setup['cache']))