linux change read only file to write code example Example: debian give write permission sudo chmod -R 757 /var/www