Posts tagged with “chown

Changing ownership with chown

Need to CHange the OWNer of a file or directory? chown [new owner] [file or directory] If, for example, I wanted to change the owner of /var/www/vhosts/my_website/tmp to “root” I’d run this: chown root /var/www/vhosts/my_website/tmp If you want to apply the ownership change recursively — that is, to all subdirectories and/or files within — add […]