Builder image user and root permission #219
RATANAJANGIR
started this conversation in
General
Replies: 2 comments 3 replies
-
|
@RATANAJANGIR by default the lifecycle will try to write group.toml to the layers directory so my guess is that the permissions on |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@natalieparellano Yes tried on cnb user but getting permission denied error. is there way to run single lifecycle "cnb/lifecycle/detector" ??. Please suggest me to run single lifecycle, I also tried with creating different user but it also didn't worked. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Inside the builder image container ( generated using pack builder builder.toml command), I am running cnb/lifecycle/detector command but as a root user (it's not giving permission to run as root) and with cnb getting error ERROR: failed to write buildpack group: open group.toml: permission denied.
-> cnb/lifecycle/builder
ERROR: failed to read buildpack group: open group.toml: no such file or directory
My goal to just detect source code and build artifact that why I am running directly lifecycle. Please help me to resolve this issue. @natalieparellano
Beta Was this translation helpful? Give feedback.
All reactions