diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-02-21 18:50:36 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-02-21 18:50:36 +0000 |
commit | 38d8ab7920cee3699aa23eed3e8126c96b134152 (patch) | |
tree | 4226eb4fa0307ebe1c3ac04f8da6ce5e073552e1 /src/sbin | |
parent | e0b683791dff25ecbfdd5217c61ba370dd51ba1b (diff) | |
download | bcfg2-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-x | src/sbin/bcfg2 | 1 |
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'])) |