0

I know what chmod (change mode) and what chown (change owner) do.

I also understand what the numbers mean after chmod do.

I was going through a docker tutorial and I saw chown 999 being used.

What does it mean and do?

YulePale
  • 6,688
  • 16
  • 46
  • 95
  • 4
    Does this answer your question? [Why docker-compose creates directories/files with user:group 999:999?](https://stackoverflow.com/questions/55241474/why-docker-compose-creates-directories-files-with-usergroup-999999) – Taron Jan 15 '20 at 07:55
  • 2
    999 is a user in the system. If you type `id 999` you can check it. So in the tutorial he's changing the owner of the file to this user. – Mark Watney Jan 15 '20 at 07:57
  • @Taron yes it does. Thanks. – YulePale Jan 16 '20 at 05:09

0 Answers0