mirror of
https://github.com/containers/skopeo.git
synced 2025-08-29 19:42:47 +00:00
unshare: Add CAP_SYS_ADMIN to needed capabilities
Some container storage operations (e.g., mounting the home directory for containers/storage) require CAP_SYS_ADMIN. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
dc88f3211b
commit
50f414a7cf
@ -16,6 +16,7 @@ var neededCapabilities = []capability.Cap{
|
||||
capability.CAP_FSETID,
|
||||
capability.CAP_MKNOD,
|
||||
capability.CAP_SETFCAP,
|
||||
capability.CAP_SYS_ADMIN,
|
||||
}
|
||||
|
||||
func maybeReexec() error {
|
||||
|
Loading…
Reference in New Issue
Block a user