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

Plugin creates a lot of files with root owner #116

Open
fancywriter opened this issue May 10, 2022 · 0 comments
Open

Plugin creates a lot of files with root owner #116

fancywriter opened this issue May 10, 2022 · 0 comments

Comments

@fancywriter
Copy link

🐛 Bug description

When running plugin with default settings (with dockerless = false) it uses docker image to run cargo and rustc (contradictive decision, but OK), and then it creates a lot of files (mostly in ./target directory and in ~/.cargo) which are not accessible for my user. Because the owner is root!

🤔 Expected Behavior

I would expect for docker images to not create files owned by root, but by my current user. And also probably dockerless by default should be enabled - I see no reason why I would choose to run docker to run compiler.

👟 Steps to reproduce

Just follow README - https://github.com/softprops/serverless-aws-rust#-how-to-be-a-wizard

🌍 Your environment

serverless version: 1.74.1
rust-plugin version: 0.3.8

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

1 participant