serverless-graalvm-demo
serverless-graalvm-demo copied to clipboard
running `cdk deploy` changes the permissions of my target file to root?
Hello. Thank you so much for this demo. I'm just having one little problem...
Whenever I run cdk deploy, the permissions of my software/target directory get set to root. Because of this, I cannot run my tests in that directory (permission denied error.)
I am on Linux, so to fix this, I need to run chown on my project to change the owner of the directory back to my user.
Is there anyway to get around this besides running my mvn tests as root? Thank you.
I wonder if this has to do with how we're using Docker for the build
https://github.com/aws-samples/serverless-graalvm-demo/blob/1dd03eb0d40f625fbfd186d1cb2276c11216493d/infrastructure/src/main/java/software/amazonaws/example/infrastructure/InfrastructureStack.java#L77