Home | History | Annotate | Download | only in releasetools

Lines Matching refs:gid

118     self.gid = None
132 print "%s%s %d %d %o" % (" "*indent, self.name, self.uid, self.gid, self.mode)
134 print "%s%s %s %s %s" % (" "*indent, self.name, self.uid, self.gid, self.mode)
152 # gid, and mode is supposed to be.
156 # uid, gid, and mode for every Item object. Note this uses the
169 name, uid, gid, mode = line.split()
173 i.gid = int(gid)
180 if i: i.uid, i.gid, i.mode = 0, 0, 0644
182 if i: i.uid, i.gid, i.mode = 0, 0, 0544
185 """Count up the (uid, gid, mode) tuples for all children and
190 Returns a dict of {(uid, gid, dmode, fmode): count} counting up
192 sets the best_subtree of each directory Item to the (uid, gid,
198 d = self.descendants = {(self.uid, self.gid, self.mode, None): 1}
204 k = (i.uid, i.gid, None, i.mode)
207 # Find the (uid, gid, dmode, fmode) tuple that matches the most
210 # First, find the (uid, gid) pair that matches the most
213 for (uid, gid, _, _), count in d.iteritems():
214 ug[(uid, gid)] = ug.get((uid, gid), 0) + count
218 # with that (uid, gid), and choose those.
237 # current is the (uid, gid, dmode, fmode) tuple that the current
246 if item.uid != current[0] or item.gid != current[1] or \
248 script.SetPermissions("/"+item.name, item.uid, item.gid, item.mode)
253 if item.uid != current[0] or item.gid != current[1] or \
255 script.SetPermissions("/"+item.name, item.uid, item.gid, item.mode)