#357 Copying taskdir to disposable minion drops permissions and follows symlinks
Closed: Fixed None Opened 7 years ago by lbrabec.

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).

Method put_dir() should be modified so it copies the permissions and leaves symlinks as symlinks.


This ticket had assigned some Differential requests:
D965

Login to comment on this ticket.

Metadata