ubuntu give user permission to folder code example Example: debian give write permission sudo chmod -R 757 /var/www