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.
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.