How to change files owner and group in Linux?
To change a file’s owner or a group, you will need to use the ‘chown‘ command.
Here are some examples:
To change a single file owner, type in ‘chown newowner yourfile‘
To change a single file and group name, type in ‘chown newowner:newgroup yourfile‘
To change a directory, type in ‘chown -R newowner yourdirectory‘
* newowner = the new owner [...]
