mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Add --umask flag for create, run
--umask sets the umask inside the container Defaults to 0022 Co-authored-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
@ -287,6 +287,8 @@ type ContainerSecurityConfig struct {
|
||||
// ReadOnlyFilesystem indicates that everything will be mounted
|
||||
// as read-only
|
||||
ReadOnlyFilesystem bool `json:"read_only_filesystem,omittempty"`
|
||||
// Umask is the umask the init process of the container will be run with.
|
||||
Umask string `json:"umask,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerCgroupConfig contains configuration information about a container's
|
||||
|
Reference in New Issue
Block a user