Skip to content

Commit

Permalink
update file perm used when creating cf config (#95)
Browse files Browse the repository at this point in the history
* update file perm used when creating cf config

* changeset

* update comment
  • Loading branch information
meyerjrr authored Sep 19, 2024
1 parent b4553f4 commit cab8314
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-lamps-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@common-fate/cli": patch
---

fix permissions when creating cf config files to exclude execute permission
4 changes: 2 additions & 2 deletions awsconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
)

const (
// permission for user to read/write/execute.
USER_READ_WRITE_PERM = 0700
// permission for user to read/write.
USER_READ_WRITE_PERM = 0644
)

func loadAWSConfigFileFromPath(filepath string) (*ini.File, error) {
Expand Down

0 comments on commit cab8314

Please sign in to comment.