Lines Matching refs:add_perm
565 def add_perm(mask, on, off='-'): function
571 add_perm(stat.S_IRUSR, 'r')
572 add_perm(stat.S_IWUSR, 'w')
574 add_perm(stat.S_IXUSR, 's', 'S')
576 add_perm(stat.S_IXUSR, 'x')
580 add_perm(stat.S_IRGRP, 'r')
581 add_perm(stat.S_IWGRP, 'w')
583 add_perm(stat.S_IXGRP, 's', 'S')
585 add_perm(stat.S_IXGRP, 'x')
587 add_perm(stat.S_IROTH, 'r')
588 add_perm(stat.S_IWOTH, 'w')
592 add_perm(stat.S_IXOTH, 'x')