Hi, I am hosting invoiceninja on my server. I have been testing it and i really like it. I think i have messed up permissions. So I have set the owner for files to root:root except storage, bootstrap, public/logo which are owned by www-data. When i run cronjobs from the normal user (not root or www-data), it gives me a few errors. What are the suggested permissions? I chowned them to root because of extra security. Is this good practice? Thank you!
Also is it good practice to run cronjobs as root because it doesn’t give me errors.