I’m using Trellis just to deploy to an already provisioned server (as doing with Kinsta but a custom server). When I deploy, folders web and web/app get 0777 mode so every file inside gets exposed
I’ve found out that the share.yml file does that, but I don’t know why as I have other projects with the same configuration and I’ve never had that problem:
If I change that mode line to 0755 everything works as expected.
This is my project_shared_children variable content:
project_shared_children: - path: web/app/uploads src: uploads - path: web/.htaccess src: .htaccess type: file - path: web/robots.txt src: robots.txt type: file - path: web/google214b4b12484d912b.html src: google214b4b12484d912b.html type: file - path: web/app/wp-cache-config.php src: wp-cache-config.php type: file - path: web/app/advanced-cache.php src: advanced-cache.php type: file
Has anyone had this behaviour using trellis just to deploy? I just want to know why is this happening…