Lines Matching refs:lchmod
528 if hasattr(os, 'lchmod'):
529 os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
542 if hasattr(os, 'lchmod'):
859 @unittest.skipUnless(hasattr(os, 'lchmod'), 'requires os.lchmod')
873 os.lchmod(src_link, stat.S_IRWXO|stat.S_IRWXG)
875 os.lchmod(dst_link, stat.S_IRWXO)
881 os.lchmod(dst_link, stat.S_IRWXO)
885 os.lchmod(dst_link, stat.S_IRWXO)
889 @unittest.skipIf(hasattr(os, 'lchmod'), 'requires os.lchmod to be missing')
920 if hasattr(os, 'lchmod'):
921 os.lchmod(src_link, stat.S_IRWXO)
926 if hasattr(os, 'lchmod'):
937 if hasattr(os, 'lchmod'):
1091 if hasattr(os, 'lchmod'):
1092 os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
1102 if hasattr(os, 'lchmod'):
1133 if hasattr(os, 'lchmod'):
1134 os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
1154 if hasattr(os, 'lchmod'):