Lines Matching defs:mode
53 ("mode", "mode="),
60 ("mode", "mode="),
92 self.mode = None
121 m = int(self.mode, 8)
215 return lhs.mode != rhs.mode
266 mode = self.mode
278 mode = "777"
283 (ftype, self.path, target, mode, owner, group, 0, 1)
306 self.mode = action.attrs["mode"]
317 self.mode = action.attrs["mode"]
339 def __init__(self, path, mode):
342 self.mode = mode
345 return '%s: unsupported S_IFMT %07o' % (self.path, self.mode)
363 mode = lstat.st_mode
368 if stat.S_ISREG(mode):
370 elif stat.S_ISDIR(mode):
372 elif stat.S_ISLNK(mode):
376 raise UnsupportedFileFormatError(path, mode)
378 if not stat.S_ISLNK(mode):
379 self.mode = "%04o" % stat.S_IMODE(mode)
537 fileinfo.mode = int("0%s" % pline[3])
609 # lists owner, group, and mode attributes. If that
679 """Populates mode, group, and owner for resolved (ie link target
689 info.mode = tgtinfo.mode
748 By default, this causes all mode checks to be performed. Individual
749 mode checks may be turned off using "-X check," where "check" comes
837 usage("unknown mode check %s" % s)