mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Vault-6037 making filesystem permissions check opt-in (#15452)
* adding env var changes * adding changelog * adding strcov.ParseBool
This commit is contained in:
@@ -18,7 +18,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/vault/sdk/helper/consts"
|
||||
"github.com/hashicorp/vault/sdk/physical"
|
||||
physInmem "github.com/hashicorp/vault/sdk/physical/inmem"
|
||||
"github.com/mitchellh/cli"
|
||||
@@ -116,7 +115,6 @@ func TestServer_ReloadListener(t *testing.T) {
|
||||
defer os.RemoveAll(td)
|
||||
|
||||
wg := &sync.WaitGroup{}
|
||||
os.Setenv(consts.VaultDisableFilePermissionsCheckEnv, "true")
|
||||
// Setup initial certs
|
||||
inBytes, _ := ioutil.ReadFile(wd + "reload_foo.pem")
|
||||
ioutil.WriteFile(td+"/reload_cert.pem", inBytes, 0o777)
|
||||
|
||||
Reference in New Issue
Block a user