My LAMP is setup to work as
user:www-data and all files and folders are created with that permissions.
I have setup for crontab as user@ubuntu.
So i do
crontab -e and use this command:
*/5 * * * * php /var/www/public/voto_m/artisan top >/dev/null 2>&1
Basically that command just creates cache file in specified place (no problems with that), but that cache file is created with user:user permissions not
How can i make that it will by default create file with
I can't go and
chown each time file is recreated.