-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When I run this command:
cli/decky plugin build -e podmanI get this error:
[!] (plugin delete) Error: EACCES: permission denied, unlink '/plugin/dist/index.js.map'
Error: EACCES: permission denied, unlink '/plugin/dist/index.js.map'
Line: ELIFECYCLE Command failed with exit code 1.
Line: error code: 0
Line: pnpm build failed, please report this issue to the CI maintainer and the plugin developer.
Error: Failed to build frontend. There might be more information in the output above.
Caused by:
child status was: exit status: 1
I was able to rectify this by looking at the podman command that was being run (from the debug logs) and removing the --user flag from it.
I don't know much about containers but from what little I know, rootless podman containers use the UID/GID of 0 inside. If they are being manually set the host user's UID/GID then it causes permission errors because the container's UID=0 maps to the host user's UID.
I think this is worth fixing because the change required is trivial and allows the build command to be run easily without root.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels