]> git.lyx.org Git - lyx.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)
committerPavel Sanda <sanda@lyx.org>
Fri, 7 Dec 2018 22:10:46 +0000 (23:10 +0100)
commit04fe818b2239ac2fcc4af48618b699cb50ccf543
tree30ea095786ff4e3e727505b2c5270c48a51604fc
parent32c6724fd662b8a147394e163cb2f0fc8a7f2475
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