]> git.lyx.org Git - features.git/commit
Keep permissions of the saved files intact.
authorPavel Sanda <sanda@lyx.org>
Fri, 7 Dec 2018 22:10:46 +0000 (23:10 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:51 +0000 (14:39 +0200)
commite1708490679b2e401638e1873b73090808a2164e
tree30ea095786ff4e3e727505b2c5270c48a51604fc
parent841a6d8549355980c462b3c5d2e970640950e8dd
Keep permissions of the saved files intact.

Previously the permission were destroyed by the newly created
temporary file -- which is later used as new saved file.
Tested on symlinks as well but only on Linux.
src/Buffer.cpp
src/support/FileName.cpp
src/support/FileName.h