diff --git a/.nanpa/sheep-hate-siren.kdl b/.nanpa/sheep-hate-siren.kdl new file mode 100644 index 0000000..59400ec --- /dev/null +++ b/.nanpa/sheep-hate-siren.kdl @@ -0,0 +1 @@ +patch type="fixed" "make new .ttbp/ world-readable" diff --git a/app/management.go b/app/management.go index 45f5108..f3761c8 100644 --- a/app/management.go +++ b/app/management.go @@ -140,7 +140,7 @@ func (management *Management) Draw(state *ui.State) { func purgeFeels() { ttbp.Unpublish() os.RemoveAll(ttbp.PathUserEntries) - os.MkdirAll(ttbp.PathUserEntries, 0700) + os.MkdirAll(ttbp.PathUserEntries, 0755) } func wipeAccount() { diff --git a/main.go b/main.go index e4d2c3b..7f0c09c 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ press ↵ to set up an account, or Ctrl+c to quit. you can always come back late header := strings.ReplaceAll(header, "%USER%", user.Username) header = strings.ReplaceAll(header, "%DATETIME%", time.Now().Format(time.DateTime)) os.MkdirAll(ttbp.PathUserConfig, 0755) - os.MkdirAll(ttbp.PathUserEntries, 0700) + os.MkdirAll(ttbp.PathUserEntries, 0755) os.WriteFile(path.Join(ttbp.PathUserConfig, "header.txt"), []byte(header), 0644) os.WriteFile(path.Join(ttbp.PathUserConfig, "footer.txt"), footer, 0644) os.WriteFile(path.Join(ttbp.PathUserConfig, "style.css"), style, 0644)