Skip to content

lxd/device/usb: Add ownership.inherit config key - #19451

Open
jonathan-conder wants to merge 1 commit into
canonical:mainfrom
jonathan-conder:feature/usb-ownership-inherit
Open

jonathan-conder wants to merge 1 commit into
canonical:mainfrom
jonathan-conder:feature/usb-ownership-inherit

Conversation

@jonathan-conder

Copy link
Copy Markdown
Contributor

Fixes #19448.

Allow usb devices to inherit the host device node's UID and GID, mirroring the unix-hotplug option. As for unix-hotplug, reject setting both uid and gid when ownership.inherit is enabled.

Add the usb_ownership_inherit API extension and refresh the generated metadata.

Checklist

Allow usb devices to inherit the host device node's UID and GID, mirroring the unix-hotplug option. As for unix-hotplug, reject setting both uid and gid when ownership.inherit is enabled.

Add the usb_ownership_inherit API extension and refresh the generated metadata.

Signed-off-by: Jonathan Conder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature parity between unix-hotplug and usb devices

1 participant