I believe those should normally be owned by www-data, but I could be wrong.
Laravel Multi-tenant users permission
Hey everyone, I'm working on laravel application where multiple users register their store and also use their custom domain to display their store website.
I'm facing a problem, when I opens my site from my domain log files created (owner) by application are from cpanel username, when I opened any custom domain log files root permission changed to "nobody". below you can see the command terminal output, "ordery" is cpanel user name, "nobody" i don't know how it created like this whether it is from application or from server. how to find out and fix this? anyone faced issues like this before
[root@121 public_html]# cd storage
[root@121 storage]# ls -lts
0 drwxrwxrwx 2 ordery ordery 66 Jul 23 00:56 logs
276 drwxrwxr-x 2 ordery ordery 225280 Jul 22 23:01 debugbar
0 drwxrwxr-x 5 ordery ordery 69 Jul 19 18:54 app
4 drwxrwxr-x 2 ordery ordery 4096 Aug 28 2023 fonts
0 drwxrwxr-x 6 ordery ordery 63 Dec 12 2022 framework
4 -rwxrwxr-x 1 ordery ordery 32 Dec 12 2022 installed
[root@121 storage]# cd logs
[root@121 logs]# ls -lts
160 -rw-r--r-- 1 nobody nobody 160011 Jul 23 00:56 laravel-2024-07-23.log
496 -rwxrwxrwx 1 nobody nobody 506677 Jul 22 23:17 laravel-2024-07-22.log
Please or to participate in this conversation.