Skip to content

Commit

Permalink
first pass at addressing opensearch-project#16
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Carbone <[email protected]>
  • Loading branch information
dcarbone committed Dec 15, 2022
1 parent 8dbab81 commit dc20b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/file_operation_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func checkConfigFilePermission(configFilePath string) error {
mode := info.Mode().Perm()

if mode != FilePermission {
return fmt.Errorf("permissions %o for '%s' are too open. It is required that your config file is NOT accessible by others", mode, configFilePath)
return fmt.Errorf("config file '%s' permissions %o must be changed to %o, this will limit access to only your user", configFilePath, mode, FilePermission)
}
return nil
}

0 comments on commit dc20b6e

Please sign in to comment.