how to give permisison and insert in file in ubuntu code example Example: chmode ubuntu sudo chmod -R 777 /var/www