tcpdf error permission denied cuz invoice job create folder with root permission instead of www-data
-
hi
similar to this : https://forum.cloudron.io/topic/14965/which-user-for-cron-task/8
when I click 'launch now' the job runs and create invoices...

... but the folder generated are root-owned.
Then I got an error when I go to the invoice page and try to generate the PDF.
To fix I need to change the owner of the folder from root to www-data.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login