Home | History | Annotate | Download | only in releasetools

Lines Matching refs:uid

185     # The target_files contains a record of what the uid,
192 name, uid, gid, mode = columns[:4]
207 i.uid = int(uid)
217 if i: i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0644, None, None
219 if i: i.uid, i.gid, i.mode, i.selabel, i.capabilities = 0, 0, 0544, None, None
228 self.uid = None
244 if self.uid is not None:
245 print "%s%s %d %d %o" % (" "*indent, self.name, self.uid, self.gid, self.mode)
247 print "%s%s %s %s %s" % (" "*indent, self.name, self.uid, self.gid, self.mode)
255 """Count up the (uid, gid, mode, selabel, capabilities) tuples for
260 Returns a dict of {(uid, gid, dmode, fmode, selabel, capabilities): count} counting up
262 sets the best_subtree of each directory Item to the (uid, gid,
268 d = self.descendants = {(self.uid, self.gid, self.mode, None, self.selabel, self.capabilities): 1}
274 k = (i.uid, i.gid, None, i.mode, i.selabel, i.capabilities)
277 # Find the (uid, gid, dmode, fmode, selabel, capabilities)
280 # First, find the (uid, gid) pair that matches the most
283 for (uid, gid, _, _, _, _), count in d.iteritems():
284 ug[(uid, gid)] = ug.get((uid, gid), 0) + count
288 # the most descendants with that (uid, gid), and choose those.
311 # current is the (uid, gid, dmode, fmode, selabel, capabilities) tuple that the current
320 if item.uid != current[0] or item.gid != current[1] or \
323 script.SetPermissions("/"+item.name, item.uid, item.gid,
329 if item.uid != current[0] or item.gid != current[1] or \
332 script.SetPermissions("/"+item.name, item.uid, item.gid,