I have one quick question... Ming Lei <ming.lei@xxxxxxxxxx> writes: > In case of UBLK_F_UNPRIVILEGED_DEV: > > 1) for command UBLK_CMD_ADD_DEV, it is always allowed, and user needs > to provide owner's uid/gid in this command, so that udev can set correct > ownership for the created ublk device, since the device owner uid/gid > can be queried via command of UBLK_CMD_GET_DEV_INFO. Why do you have the user provide the uid/gid rather than just using the user's credentials directly? It seems a bit strange to me to let unprivileged users create devices with arbitrary ownership. What am I missing here? Thanks, jon