Fixed SSH authentication + uploads folder check

This commit is contained in:
NGPixel
2017-02-11 16:21:50 -05:00
parent c6853a0315
commit 3b5c0a9b74
5 changed files with 32 additions and 15 deletions

View File

@@ -114,7 +114,7 @@ module.exports = {
fs.ensureDirSync(path.resolve(ROOTPATH, appconfig.paths.repo, './uploads'))
if (os.type() !== 'Windows_NT') {
fs.chmodSync(path.resolve(ROOTPATH, appconfig.paths.repo, './upload'), '644')
fs.chmodSync(path.resolve(ROOTPATH, appconfig.paths.repo, './uploads'), '644')
}
} catch (err) {
winston.error(err)