I use wpcli to sync databases and it usses .env file on the server. But everytime I do a deploy with trellis the read permissions are gone for user ‘admin’. I then need to ssh and set +w permissions using sudo… A real pain in the ass…
can I set the permissions for .env file somewhere so it has the correct permissions after each deploy ?
thanks