Roots Discourse

Add read permission to .env file

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 ?


I’m not sure I understand why you would have a workflow like that, but yes, you could do that if you wanted to :sweat_smile:

This topic was automatically closed after 42 days. New replies are no longer allowed.