Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Change track permissions to 0766
Browse files Browse the repository at this point in the history
  • Loading branch information
n10v committed Aug 5, 2016
1 parent f076bb9 commit 315cfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trackprocessor/trackprocessor.go
Expand Up @@ -38,7 +38,7 @@ func (tp TrackProcessor) ProcessAll(tracks []track.Track) {
func (tp TrackProcessor) Process(t track.Track) {
// Download track
trackPath := path.Join(tp.DownloadFolder, t.Filename())
if _, err := os.OpenFile(trackPath, os.O_CREATE, 0644); err != nil {
if _, err := os.OpenFile(trackPath, os.O_CREATE, 0766); err != nil {
ui.Term(err, "couldn't create track file")
}
downloadTrack(t, trackPath)
Expand Down

0 comments on commit 315cfa1

Please sign in to comment.