Lines Matching refs:chown
1986 chown=False):
1990 If chown is set, we chown the file and its parent dir to root.
1997 if chown:
1998 os.chown(fpath, 0, 0)
1999 os.chown(os.path.dirname(mpath), 0, 0)
2006 if chown:
2007 os.chown(mpath, 0, 0)
2008 os.chown(os.path.dirname(mpath), 0, 0)
3264 bad_path = self.__inject_perm(fmri_str=fmris[0], chown=True)
3493 os.system("chown noaccess {0}".format(self.test_root))
3498 os.system("chown root {0}".format(self.test_root))