3 ms·
Why do the files have bad permissions to start with?
by jrmg 3y ago
Why do the files have bad permissions to start with?
- lox 3y agoDocker 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.