Skip to content

Commit

Permalink
Fix permission denied erros while invoking `gocd-cli auth-config st…
Browse files Browse the repository at this point in the history
…ore`
  • Loading branch information
nikhilsbhat committed Mar 19, 2024
1 parent 9083c88 commit fd0d618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func getAuthStoreCommand() *cobra.Command {
}

authConfigDir := filepath.Join(home, goCdCacheDirName)
const filePermission = 0o644
const filePermission = 0o755
if err = os.Mkdir(authConfigDir, filePermission); os.IsNotExist(err) {
cliLogger.Errorf("creating directory '%s' errored with '%v'", authConfigDir, err)

Expand Down

0 comments on commit fd0d618

Please sign in to comment.