diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-10-14 22:00:11 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-10-14 22:00:11 +0000 |
commit | 3ead0754c43e5733a953ddc32f44f37f1cfd09f0 (patch) | |
tree | 361c812d347313ab5e367ea8f5034fe47015a797 | |
parent | d97070944fc3251e9c363628a4b2dd0196719de6 (diff) | |
download | bcfg2-3ead0754c43e5733a953ddc32f44f37f1cfd09f0.tar.gz bcfg2-3ead0754c43e5733a953ddc32f44f37f1cfd09f0.tar.bz2 bcfg2-3ead0754c43e5733a953ddc32f44f37f1cfd09f0.zip |
fix directory perm verification
(Logical change 1.97)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@444 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Client/Toolset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py index 91fa23277..cb9e27201 100644 --- a/src/lib/Client/Toolset.py +++ b/src/lib/Client/Toolset.py @@ -197,7 +197,7 @@ class Toolset(object): perms=stat(entry.attrib['name'])[ST_MODE] if ((owner == entry.attrib['owner']) and (group == entry.attrib['group']) and - (perms == entry.attrib['perms'])): + (perms == CalcPerms(entry.attrib['perms']))): return True else: return False |