Lines Matching defs:stat
35 import stat
50 os.chmod(tmpdir, stat.S_IRWXU)
57 act.makedirs(foopath, mode = stat.S_IREAD)
61 assert(os.stat(tmpdir).st_mode & (stat.S_IREAD | stat.S_IWRITE) != 0)
62 assert(os.stat(fpath).st_mode & (stat.S_IREAD | stat.S_IWRITE) != 0)
63 assert(os.stat(fopath).st_mode & (stat.S_IREAD | stat.S_IWRITE) != 0)
64 assert(os.stat(foopath).st_mode & stat.S_IREAD != 0)
65 assert(os.stat(foopath).st_mode & stat.S_IWRITE == 0)
68 os.chmod(foopath, stat.S_IRWXU)