Merge pull request #407 from whipper-team/bugfix/issue-284-flac-file-permissions

Set FLAC files permissions to 0644
This commit is contained in:
JoeLametta
2019-10-21 16:32:13 +02:00
committed by GitHub

View File

@@ -453,6 +453,7 @@ class ReadVerifyTrackTask(task.MultiSeparateTask):
# FIXME: choose a dir on the same disk/dir as the final path
fd, tmppath = tempfile.mkstemp(suffix='.whipper.wav')
tmppath = unicode(tmppath)
os.fchmod(fd, 0644)
os.close(fd)
self._tmpwavpath = tmppath