Apply 52_check_perms_lstat.patch
authorMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:32:54 +0000 (20:32 -0400)
committerMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:32:54 +0000 (20:32 -0400)
bin/check_perms

index 7c80774..f81f1ee 100755 (executable)
@@ -80,7 +80,7 @@ def statmode(path):
     return os.stat(path)[ST_MODE]
 
 def statgidmode(path):
-    stat = os.stat(path)
+    stat = os.lstat(path)
     return stat[ST_MODE], stat[ST_GID]
 
 seen = {}