-
Notifications
You must be signed in to change notification settings - Fork 931
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd/device: Add
unixDeviceOwnership
function and change default own…
…ership behaviour This commit adds a function `unixDeviceOwnership()` which returns device ownership (gid and uid). The new default ownerhship behaviour for unix devices is to use the host's ownership rule when no gid or uid is specified in the device config. If the ownership can't be identified, root (0) ownership is used. Signed-off-by: Kadin Sayani <[email protected]>
- Loading branch information
1 parent
dcd73cb
commit 2600eb1
Showing
1 changed file
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters