Permissions are ignored for COPY commands
Closed this issue · 4 comments
jrandall commented
The permissions of the source being COPY'd do not seem to factor in to the hash calculation.
colin-nolan commented
colin-nolan commented
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.
colin-nolan commented
Full fix (that considers changes to directory permissions) is blocked on #10.
colin-nolan commented
Pending merge to master