diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-20 10:00:57 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-20 10:00:57 -0400 |
commit | 0be10ca527bafe347b140eae30abe599eb96b364 (patch) | |
tree | b571d30386bd5ed8e2732fdb3b86002bbab05335 /src/lib/Bcfg2/Client | |
parent | 6aa50a314e6b1bff63f3cd5061fed13748ffe845 (diff) | |
download | bcfg2-0be10ca527bafe347b140eae30abe599eb96b364.tar.gz bcfg2-0be10ca527bafe347b140eae30abe599eb96b364.tar.bz2 bcfg2-0be10ca527bafe347b140eae30abe599eb96b364.zip |
ensure that ACL entries can be parsed without error even without pylibacl
Diffstat (limited to 'src/lib/Bcfg2/Client')
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/POSIX/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/POSIX/base.py b/src/lib/Bcfg2/Client/Tools/POSIX/base.py index 1ddfcc230..6952d0f7b 100644 --- a/src/lib/Bcfg2/Client/Tools/POSIX/base.py +++ b/src/lib/Bcfg2/Client/Tools/POSIX/base.py @@ -23,7 +23,7 @@ try: x=posix1e.ACL_EXECUTE) except ImportError: has_acls = False - acl_map = dict() + acl_map = dict(r=4, w=2, x=1) # map between dev_type attribute and stat constants device_map = dict(block=stat.S_IFBLK, |