xampp linux write permissions code example Example: chmod 777 ubuntu xampp sudo chmod -R 777 /opt/lampp/htdocs