summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Stanley <jonstanley@gmail.com>2009-12-10 00:23:04 -0500
committerJon Stanley <jonstanley@gmail.com>2009-12-10 00:23:04 -0500
commit82c14644d4723fee25b21133e50da0564990ac45 (patch)
treea986af0187b0ebc027d2b0f2917b2348d18872a0
parent87cec99a888955a4ba71d51f3634deec3101354a (diff)
downloadcvssetfacl-82c14644d4723fee25b21133e50da0564990ac45.tar.gz
cvssetfacl-82c14644d4723fee25b21133e50da0564990ac45.tar.xz
cvssetfacl-82c14644d4723fee25b21133e50da0564990ac45.zip
Fix variable name bug in apply_acls()
-rwxr-xr-xsetacls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setacls.py b/setacls.py
index e89f40c..a05f4d8 100755
--- a/setacls.py
+++ b/setacls.py
@@ -145,7 +145,7 @@ def apply_acls(acl_dict, dry_run=False):
else:
print 'would apply the following ACL to %s' % real_dir
print acl_dict[dir]
- os.chown(real_path, 0, scm_admin_gid)
+ os.chown(real_dir, 0, scm_admin_gid)
for file in os.listdir(real_dir):
real_file = os.path.join(real_dir, file)
if not dry_run: