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

security - lockdown node_modules as read-only during build process #7210

Closed
wants to merge 4 commits into from

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Sep 23, 2019

@kumavis
Copy link
Member Author

kumavis commented Sep 24, 2019

Hmm so I can create a new user and run yarn as that user, but I lose all write perms and get Operation not supported when I try to use setfacl to add those perms to the necessary places.

There might be a way to fix this but my linux sysadmin skills are low

@kumavis
Copy link
Member Author

kumavis commented Sep 24, 2019

played around on ssh a bit, got stuck on some other errors i havent been able to reproduce on CI

@kumavis
Copy link
Member Author

kumavis commented Sep 25, 2019

Now you can see the error I was encountering:

+ setfacl -R -m u:buildtask:rw ui/app/css/output
setfacl: ui/app/css/output: Operation not supported

unclear why its not supported

@whymarrh
Copy link
Contributor

whymarrh commented Feb 3, 2020

I'll close this for now, we can re-open it when we update it

@whymarrh whymarrh closed this Feb 3, 2020
@whymarrh whymarrh deleted the sec-build-acl branch February 27, 2020 02:24
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

Successfully merging this pull request may close these issues.

3 participants