My executables lose the execute permissions after putting them to a remote server with Fabric (files are created with default permissions).
Does Fabric provide a simple way to keep the file permissions unchanged, or I need to handle them manually?
Thanks in advance.
If you’re using put look at it’s mirror_local_mode kwarg, or if you want some mode specifically, there is a kwarg for mode as well. Both have blurbs on the link I provided.