From 8e435ea9e2d241a094979e015534f72519f6108d Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 6 Oct 2013 21:12:44 +1100 Subject: [PATCH] Need executable permissions on torrent data directories --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 6514748b..7247321b 100644 --- a/client.go +++ b/client.go @@ -290,7 +290,7 @@ func mmapTorrentData(metaInfo *metainfo.MetaInfo, location string) (mms MMapSpan }() for _, miFile := range metaInfo.Files { fileName := filepath.Join(append([]string{location, metaInfo.Name}, miFile.Path...)...) - err = os.MkdirAll(filepath.Dir(fileName), 0666) + err = os.MkdirAll(filepath.Dir(fileName), 0777) if err != nil { return } -- 2.48.1