From e83b336e8676b92b7abb11afa95de72d7773c742 Mon Sep 17 00:00:00 2001 From: EragonJ Date: Thu, 8 Dec 2016 17:52:15 +0800 Subject: [PATCH] update mode --- lib/downloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/downloader.js b/lib/downloader.js index 7656c33..d604cc0 100644 --- a/lib/downloader.js +++ b/lib/downloader.js @@ -27,7 +27,7 @@ function download(link, to, callback) { return; } downloadFile.pipe(fs.createWriteStream(to, { - mode: 493 + mode: 0o755 })); });