Install any skill in seconds. Free to start, no credit card required.
Get Started Free →choutos/fix-log-permissions
Fix Laravel log file permission errors after deployment.
Passed 20 of 22 test cases with the skill, and 15 of 22 without it.
and 3 more in the full report
6 fixed14 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
Provide the exact bash line to include in a post-deployment script to fix ownership of the default Laravel log storage directory.
| Checked | Without skill | With skill |
|---|---|---|
| Provides chown -R www-data:www-data /var/www/storage/logs/ | Missed | Passed |
The instructions your model reads when the skill loads.
UnexpectedValueException: .../storage/logs/laravel.log Permission deniedroot instead of www-data# Fix ownership
sudo chown -R www-data:www-data /var/www/storage/logs/
# Restart PHP-FPM (adjust version as needed)
sudo systemctl restart php8.2-fpm
Or use the script: scripts/fix-perms.sh <ssh-host>
Deployment runs as root, creating or modifying log files with root ownership. The web server (www-data) then can't write to them.
Add to post-deploy hook:
chown -R www-data:www-data /var/www/storage/logs/
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.