cavaliergopher / grab

A download manager package for Go
BSD 3-Clause "New" or "Revised" License
1.39k stars 150 forks source link

Use more-permissive file masks #76

Closed twooster closed 4 years ago

twooster commented 4 years ago

Per normal Go and OS behavior (and documentation, see os.File#Create, and os#Mkdir), it should be safe to use more permissive modes because the user's umask will be applied.

The upshot is that the user gets more control and typical expected behavior without any added configuration.