On Tue, 17 Jan 2012 12:25:28 +0000
Kirby Zhou <kirbyzhou(a)sogou-inc.com> wrote:
ccache plugin calls changeOwner to take the ownership of ccache directory,
but why set gid to uid?
71 def changeOwner(self, path, uid=None, gid=None):
73 if uid is None:
74 uid = self.unprivUid
75 if gid is None:
76 gid = uid
77 os.chown(path, uid, gid)
+86 (10) 6272 8261
I'm not sure why the gid was set to the uid (I'm not the original
author of the uid.py code).
Seems more logical to set it to -1 so that it will be unchanged...