From 38c8800814d5e09d40d7afb5aac4852e22776606 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 25 Feb 2014 14:42:56 -0500 Subject: Revert "POSIX: fixed test to only apply ACLs to non-symlinks" Massive typo. This reverts commit c51850b13f54d6f46e6c671e5ee1d3f0cacef727. --- src/lib/Bcfg2/Client/Tools/POSIX/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Client/Tools/POSIX/base.py') 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 -- cgit v1.2.3-1-g7c22