summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-20 10:00:57 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-20 10:00:57 -0400
commit0be10ca527bafe347b140eae30abe599eb96b364 (patch)
treeb571d30386bd5ed8e2732fdb3b86002bbab05335 /src/lib/Bcfg2/Client
parent6aa50a314e6b1bff63f3cd5061fed13748ffe845 (diff)
downloadbcfg2-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.py2
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,