Open
Description
⚠️ Important Notice
Please differentiate the bug
This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.
Please also check if the bug is already known before you open a new bug.
🐛 Bug Report:
Describe the bug
#647 fixed the docker permissions for the generator.service. When executing the cli with options that use the passthrough.service instead, the docker user and group is not set, resulting in root:root permissions
Steps to Reproduce
Steps to reproduce the behavior:
- Run a
generate
command that invokes the passthrough service while using theuseDocker
option
Expected behavior
When using the passthrough service, the user and group flags are passed to docker
Screenshots
If applicable, add screenshots to help explain your problem.
Operation System (please complete the following information):
- OS: Arch / WSL
- Version: 2023-10-31
Package System (please complete the following information):
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Activity
kasir-barati commentedon Apr 21, 2024
Having same issue...
anonysoul commentedon May 23, 2024
docker run --user
preventing file writingjoebb97 commentedon Dec 24, 2024
Hey I'm seeing the same issue and am having to write my own Dockerfile which adds my user to get around this