From c061caab335648cb9be9ad8e187d46cf9e9eff2f Mon Sep 17 00:00:00 2001 From: przemyslawpluta Date: Sat, 12 Mar 2016 11:21:18 +0000 Subject: [PATCH] permission change on bin --- lib/downloader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/downloader.js b/lib/downloader.js index 87a8406..7d1d2ff 100644 --- a/lib/downloader.js +++ b/lib/downloader.js @@ -35,8 +35,8 @@ function createBase(binDir) { 'use strict'; isWin = (process.platform === 'win32' || process.env.NODE_PLATFORM === 'windows') ? true : false; dir = (binDir) ? binDir : defaultBin; - mkdirp.sync(dir, {mode: 484}); - if (binDir) { mkdirp.sync(defaultBin, {mode: 484}); } + mkdirp.sync(dir); + if (binDir) { mkdirp.sync(defaultBin); } filePath = path.join(dir, 'youtube-dl' + ((isWin) ? '.exe' : '')); }