I’m trying to deploy an application in openshift dedicated on developer sandbox, but one of my deployment is facing the permission denied issue. This is what got when I check the linux user, may be because of this i’m facing issue
/client$ oc exec -it client-74c796c76f-j4t5j — /bin/sh
/app $ whoami
1007390000
/app $ cat /etc/passwd
1007390000:x:1007390000:0:1007390000 user:/:/sbin/nologin
I don’t have dockerfile, only have container image of client deployment,and below provided logs of the client deployment
Failed to compile
[eslint] EACCES: permission denied, mkdir ‘/app/node_modules/.cache’
LOG from ./node_modules/react-scripts/node_modules/sass-loader/dist/cjs.js sass-loader ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[7].use[1]!./node_modules/postcss- loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[0].oneOf[7].use[3]!./node_modules/react-scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[7].use[4]!./src/assets/scss/themes.scss
Deprecation Passing percentage units to the global abs() function is deprecated.
In the future, this will emit a CSS abs() function to be resolved by the browser.
To preserve current behavior: math.abs(100%)
To emit a CSS abs() now: abs(#{100%})
More info: https://sass-lang.com/d/abs-percent
node_modules/bootstrap/scss/vendor/_rfs.scss 57:14 divide()
node_modules/bootstrap/scss/mixins/_grid.scss 59:12 row-cols()
node_modules/bootstrap/scss/mixins/_grid.scss 85:13 @content
node_modules/bootstrap/scss/mixins/_breakpoints.scss 68:5 media-breakpoint-up()
node_modules/bootstrap/scss/mixins/_grid.scss 72:5 make-grid-columns()
node_modules/bootstrap/scss/_grid.scss 32:3 @import
node_modules/bootstrap/scss/bootstrap.scss 19:9 @import
src/assets/scss/config/default/bootstrap.scss 5:9 @import
src/assets/scss/themes.scss 2:9 root stylesheet
ERROR in [eslint] EACCES: permission denied, mkdir ‘/app/node_modules/.cache’
So, can i change the permission without changing into the dockerfile? I’m expecting that it should run somehow without changing the permission in dockerfile, because i don’t have access to it. Do you have any alternate way, so that permission issue can be fixed.
Thanks in advance
Kavana H M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.