Skip to content

Commit

Permalink
revert perm
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Oct 23, 2023
1 parent 80bcd9b commit bf89e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/upgrade/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func (k Keeper) DumpUpgradeInfoToDisk(height int64, p types.Plan) error {
func (k Keeper) GetUpgradeInfoPath() (string, error) {
upgradeInfoFileDir := path.Join(k.getHomeDir(), "data")
// Only the owner can read and write. Everyone else can only read. No one can execute the file.
if err := os.MkdirAll(upgradeInfoFileDir, 0o644); err != nil {
if err := os.MkdirAll(upgradeInfoFileDir, os.ModePerm); err != nil {
return "", fmt.Errorf("could not create directory %q: %w", upgradeInfoFileDir, err)
}

Expand Down

0 comments on commit bf89e1b

Please sign in to comment.