Method put_dir() of class ParamikoWrapper drops the information about permissions. The loss of execution permission is painful since some already written tests rely on it. On top of that, it follows symlinks (replacing them with linked targets), this causes a problem when script contains path operations such as "$(dirname "$(readlink -f "$BASH_SOURCE")")" (from docker official tests).
put_dir()
ParamikoWrapper
"$(dirname "$(readlink -f "$BASH_SOURCE")")"
Method put_dir() should be modified so it copies the permissions and leaves symlinks as symlinks.
This ticket had assigned some Differential requests: D965
Closing (D965).
Login to comment on this ticket.