wtsi-hgi/thrifty-builder

Permissions are ignored for COPY commands

Closed this issue · 4 comments

The permissions of the source being COPY'd do not seem to factor in to the hash calculation.

Fixed by 050569c.

The downside to this change is that it will generate new checksums for everything, leading to rebuilds across the board. I considered only throwing the permission into the hasher if it was not "normal" (possibly saving on the rebuilds) but I don't think the addition of odd complexity would be worth it.

Full fix (that considers changes to directory permissions) is blocked on #10.

Pending merge to master