LFCA 26 🐧 Changing Ownership — chown, chgrp
Permissions decide what can be done to a file. Ownership decides who the permissions apply to. Every file has an owner and a group, set when the file is created to the creating user and their primary group. When a file needs to belong to someone else — a web server that runs as www-data,…