diff options
author | Matthew Heon <mheon@redhat.com> | 2020-05-19 15:43:04 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-05-20 16:48:20 -0400 |
commit | cc65430145aee98ffefc4b9a505793e470134e94 (patch) | |
tree | 2391d8b7a17679bfd7eccda1ef5023682d53be87 /pkg/util | |
parent | 0f8ad039235137d086b9fea33bb74b362e625cdd (diff) | |
download | podman-cc65430145aee98ffefc4b9a505793e470134e94.tar.gz podman-cc65430145aee98ffefc4b9a505793e470134e94.tar.bz2 podman-cc65430145aee98ffefc4b9a505793e470134e94.zip |
Turn off 'noexec' option by default for named volumes
We previously enforced this for security reasons, but as Dan has
explained on several occasions, it's not very valuable there
(it's trivially easy to bypass) and it does seriously annoy folks
trying to use named volumes. Flip the default from 'on' to 'off'.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/mountOpts_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/mountOpts_linux.go b/pkg/util/mountOpts_linux.go index 3eac4dd25..bc7c675f3 100644 --- a/pkg/util/mountOpts_linux.go +++ b/pkg/util/mountOpts_linux.go @@ -7,7 +7,7 @@ import ( ) func getDefaultMountOptions(path string) (defaultMountOptions, error) { - opts := defaultMountOptions{true, true, true} + opts := defaultMountOptions{false, true, true} if path == "" { return opts, nil } |