After working 15 years with Linux, I stumbled upon the command chgrp
. Until now, I always used chown
to change the ownership of a file, even if I only changed the group; for example
chown :www-data index.php
So I wonder if there is anything that chgrp
can do what chown
cannot do. IMHO, the man pages do not point to specific advantage.