I know what the linux command
chown does, I used it to change the ownership or group of a file.
If there is a MySQL installation on a Ubuntu machine, I saw some people doing the following thing:
sudo chown mysql:mysql /data/tmp
I get confused, I know the meaning of the above command, which is to change the owner of
/data/tmp to user '
mysql' and change the group of it to '
1. Why would one run the above command?
2. Where do the 'mysql' owner and group come from? Does the installation of MySQL on a Linux machine automatically create the 'mysql' user and group?