diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-25 14:42:56 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-25 14:43:02 -0500 |
commit | 38c8800814d5e09d40d7afb5aac4852e22776606 (patch) | |
tree | 1f481282afc8a63d0ef3ca8d4bb7ade4b2b7edf2 /src/lib/Bcfg2/Client/Tools/POSIX/base.py | |
parent | c51850b13f54d6f46e6c671e5ee1d3f0cacef727 (diff) | |
download | bcfg2-38c8800814d5e09d40d7afb5aac4852e22776606.tar.gz bcfg2-38c8800814d5e09d40d7afb5aac4852e22776606.tar.bz2 bcfg2-38c8800814d5e09d40d7afb5aac4852e22776606.zip |
Revert "POSIX: fixed test to only apply ACLs to non-symlinks"
Massive typo.
This reverts commit c51850b13f54d6f46e6c671e5ee1d3f0cacef727.
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/POSIX/base.py')
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/POSIX/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/POSIX/base.py b/src/lib/Bcfg2/Client/Tools/POSIX/base.py index 5fd3f2668..12f7f8a56 100644 --- a/src/lib/Bcfg2/Client/Tools/POSIX/base.py +++ b/src/lib/Bcfg2/Client/Tools/POSIX/base.py @@ -1,4 +1,4 @@ -git """ Base class for tools that handle POSIX (Path) entries """ +""" Base class for tools that handle POSIX (Path) entries """ import os import sys @@ -465,7 +465,7 @@ class POSIXTool(Bcfg2.Client.Tools.Tool): else: secontext = None - if HAS_ACLS and not stat.S_ISLNK(ondisk[stat.ST_MODE]): + if HAS_ACLS and not stat.S_ISLNK(ondisk): acls = self._list_file_acls(path) else: acls = None |