You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running viewtube using docker, i'd like to not have to run it as root to enhance security of my host system.
acceptance criterias
the app should work when run with the user that is not uid=0
When I tried I got access errors:
/home/app/node_modules/.pnpm/file-stream-rotator@0.6.1/node_modules/file-stream-rotator/FileStreamRotator.js:672
throw e;
^
Error: EACCES: permission denied, mkdir '/home/app/logs/'
at Object.mkdirSync (node:fs:1391:3)
at /home/app/node_modules/.pnpm/file-stream-rotator@0.6.1/node_modules/file-stream-rotator/FileStreamRotator.js:669:24
at Array.reduce (<anonymous>)
at mkDirForFile (/home/app/node_modules/.pnpm/file-stream-rotator@0.6.1/node_modules/file-stream-rotator/FileStreamRotator.js:656:27)
at FileStreamRotator.getStream (/home/app/node_modules/.pnpm/file-stream-rotator@0.6.1/node_modules/file-stream-rotator/FileStreamRotator.js:532:5)
at new DailyRotateFile (/home/app/node_modules/.pnpm/winston-daily-rotate-file@5.0.0_winston@3.11.0/node_modules/winston-daily-rotate-file/daily-rotate-file.js:81:57)
at Array.<anonymous> (/home/app/server/dist/main.cjs:3071:9)
at __webpack_require__ (/home/app/server/dist/main.cjs:18924:41)
at Array.<anonymous> (/home/app/server/dist/main.cjs:2817:78)
at __webpack_require__ (/home/app/server/dist/main.cjs:18924:41) {
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: '/home/app/logs/'
}
Node.js v18.19.1
The text was updated successfully, but these errors were encountered:
description
I'm running viewtube using docker, i'd like to not have to run it as root to enhance security of my host system.
acceptance criterias
When I tried I got access errors:
The text was updated successfully, but these errors were encountered: