Browse Source

//what does file mode 0600 mean?

master
Aldrnari 1 year ago
parent
commit
ac1b0a5c03
  1. 5
      main.go

5
main.go

@ -13,5 +13,6 @@ type Page struct {
}
func (p *Page) save() error {
return ioutil.WriteFile(p.Title + ".txt", p.Body, 0600)
}
return ioutil.WriteFile(p.Title + ".txt", p.Body, 0600) //what does file mode 0600 mean?
}

Loading…
Cancel
Save