Answer the question
In order to leave comments, you need to log in
How to put down chown when deploying to prod?
Good afternoon!
Dev-environment works under one user and group, production - under another.
What is the most efficient way to change the owner of directories (for example, through a bash script) when deploying via SFTP?
Or is there a better approach?
Dev environment: MAMP, PHPStorm.
Production: Debian at DigitalOcean.
Answer the question
In order to leave comments, you need to log in
deploy from the git under the required user, everything will be fine by default.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question