about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/fsobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index e9c44653..9d942c65 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -260,7 +260,7 @@ class FileSystemObject(MimeTypeAware, FileManagerAware):
 
 		mode = self.stat.st_mode
 		test = 0o0400
-		while test:
+		while test:  # will run 3 times because 0o400 >> 9 = 0
 			for what in "rwx":
 				if mode & test:
 					perms.append(what)