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