File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,9 @@ class VaultSecretEngine: public SecretEngine {
221221 return -ENOENT;
222222 }
223223
224- if (token_st.st_mode & (S_IRWXG | S_IRWXO)) {
224+ if (token_st.st_mode & (S_IWGRP | S_IXGRP | S_IRWXO)) {
225225 ldpp_dout (dpp, 0 ) << " ERROR: Vault token file '" << token_file << " ' permissions are "
226- << " too open, it must not be accessible by other users " << dendl;
226+ << " too open, the maximum allowed is 0740 " << dendl;
227227 return -EACCES;
228228 }
229229
@@ -257,7 +257,7 @@ class VaultSecretEngine: public SecretEngine {
257257 int res;
258258 string vault_token = " " ;
259259 if (RGW_SSE_KMS_VAULT_AUTH_TOKEN == kctx.auth ()){
260- ldpp_dout (dpp, 0 ) << " Loading Vault Token from filesystem" << dendl;
260+ ldpp_dout (dpp, 20 ) << " Loading Vault Token from filesystem" << dendl;
261261 res = load_token_from_file (dpp, &vault_token);
262262 if (res < 0 ){
263263 return res;
You can’t perform that action at this time.
0 commit comments