Lines Matching defs:gid
253 mode_t mode, uid_t uid, gid_t gid,
282 if ((stats.st_mode & 0777) != (mode & 0777) || stats.st_uid != uid || stats.st_gid != gid) {
283 log_debug("set permissions %s, %#o, uid=%u, gid=%u", devnode, mode, uid, gid);
287 err = chown(devnode, uid, gid);
289 log_warning_errno(errno, "setting owner of %s to uid=%u, gid=%u failed: %m", devnode, uid, gid);
291 log_debug("preserve permissions %s, %#o, uid=%u, gid=%u", devnode, mode, uid, gid);
338 mode_t mode, uid_t uid, gid_t gid,
343 log_debug("handling device node '%s', devnum=%s, mode=%#o, uid="UID_FMT", gid="GID_FMT,
344 udev_device_get_devnode(dev), udev_device_get_id_filename(dev), mode, uid, gid);
346 if (node_permissions_apply(dev, apply, mode, uid, gid, seclabel_list) < 0)