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