chmod chown
// chown: change owner
chown -R user:group /path/to/directory //recursively
chown -R root:root /path/to/directory
chown -R www-data:www-data /path/to/directory
// chmod: change mode, edit read/write access
chmod u=rw,g=rw,o=r document.docx
chmod 755 /path/to/directory
CuteKittyCat