https://issues.dlang.org/show_bug.cgi?id=11434
--- Comment #2 from [email protected] --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/82c506c95d4fe313cd5bc9e9c1b4d4f56bbe5956 fix issue 11434 https://github.com/D-Programming-Language/phobos/commit/eaf99c607fc406caa3006d3d25a686ee802f20e2 Add PreserveAttributes flag to copy function to preserve file attributes (issue 11434) and current behavior (not at the same time) Avoid compiler errors from new versions rename flag add documentation and spaces https://github.com/D-Programming-Language/phobos/commit/a78690e75ece44e113591f596f2d5be2bf0b4784 Merge pull request #2784 from kuettler/issue_11434 Issue 11434: std.file.copy doesn't preserve file attributes (eg: executable mode etc) --
