Searched refs:permission_bits (Results 1 – 1 of 1) sorted by relevance
150 def _HasPermission(permission_bits, groupIndex, permission): argument169 if len(permission_bits) != _PERMISSION_GROUPS:170 raise ValueError("Invalid permission bits: %s" % str(permission_bits))180 perm = int(permission_bits[i]) # throws ValueError if not an integer190 def IsReadable(permission_bits): argument203 _HasPermission(permission_bits, i, _READ_PERMISSION)208 def IsWritable(permission_bits): argument221 _HasPermission(permission_bits, i, _WRITE_PERMISSION)226 def IsExecutable(permission_bits): argument239 _HasPermission(permission_bits, i, _EXECUTE_PERMISSION)[all …]