Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running cdk deploy changes the permissions of my target file to root? #16

Open
franciskafieh opened this issue Oct 21, 2022 · 1 comment

Comments

@franciskafieh
Copy link

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.

@timClicks
Copy link

I wonder if this has to do with how we're using Docker for the build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants