DEV Community

Discussion on: Adventure with Docker: Conflicts with UIDs of the container and the host

Collapse
 
rubberduck profile image
Christopher McClellan

Funny. I recently ran into an issue where someone ran chown -R 1000:999. Took a while to hunt down. One of our servers had a user and group with those ids. The other, well... did not. It had the same user and group names though. Chowned that bad boy by name and the permission issues just disappeared. Why anyone thought that it was a good idea to use a numeric id is beyond me. I'll second the use of the -u userName flag though. It's a lifesaver.