Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do the files have bad permissions to start with?


Docker is running as root, so the files written in mounted volumes get mapped to uid 0 on the host. When the agent then goes to re-use the checked out code, it can’t run ‘git clean’.

Username space remapping wasn’t adequate, for reasons I’m a bit blurry on. I think recent kernels have some better options on remapping permissions across file systems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: