-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mount: add --map-users and --map-groups convenience options
Allow an X-mount.idmap option to be specified either from an existing userns with --map-users=/proc/PID/ns/user or incrementally with a series of --map-users=INNER:OUTER:COUNT and --map-groups=INNER:OUTER:COUNT options which compose into a single X-mount.idmap mount option. Apart from distinguishing absolute namespace paths from literal mappings, defer validation to libmount when it parses X-mount.idmap. Signed-off-by: Chris Webb <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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
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