Please select the area the issue is related to
Area/Gateway (Routing, API deployment in gateway etc.)
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Suggested Improvement
Description
In this case it is a gitlab build runner instance. the ap CLI is configured using one OS user, User A, but the build process is using another user, User B. the temp directory structure which is getting generated inside the .wso2ap/.tmp directory, which is inside the User A's home, is restricted to the User B because when we are generating the folders we set the permission level to 700. Because of this, the build process failed saying a 'permission denied' during the file creation inside the directory.
Solution is using 755 permission while creating the folders inside the builder container.
Steps to Reproduce
Configure a builder instance using docker image and start the build process inside the docker container (Docker in Docker). Build will fail
Related Issues
No response
Please select the area the issue is related to
Area/Gateway (Routing, API deployment in gateway etc.)
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Suggested Improvement
Description
In this case it is a gitlab build runner instance. the ap CLI is configured using one OS user, User A, but the build process is using another user, User B. the temp directory structure which is getting generated inside the .wso2ap/.tmp directory, which is inside the User A's home, is restricted to the User B because when we are generating the folders we set the permission level to 700. Because of this, the build process failed saying a 'permission denied' during the file creation inside the directory.
Solution is using 755 permission while creating the folders inside the builder container.
Steps to Reproduce
Configure a builder instance using docker image and start the build process inside the docker container (Docker in Docker). Build will fail
Related Issues
No response