I have set mage: mage user for my project it’s working fine but whenever I am doing checkout then every time folder owner is getting changed to root: root for only var/cache/ & var/session/ folder.
Due to this every time I am getting file permission error on the frontend.
anyone can tell me how to keep the same folder owner when the file is regeneration in the system.
I know, during checkout some new files are generating in var/session folder and permission getting changed for the new file so it’s happening.
Thanks for the support in advance.