]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
set read only/read file on the newly downloaded file
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 12 Jul 2023 11:38:17 +0000 (13:38 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 12 Jul 2023 11:42:34 +0000 (13:42 +0200)
commitbc28bc43c3fdd0fbc3b532aae4671e9a878df1af
treef19c19c965dbd587fae26d815544211089c49dab
parent845c66666e68849a5ca4ca3ec0ec404d278c886e
set read only/read file on the newly downloaded file

will fix behavior on windows by properly setting the new temp file just
downloaded have the proper state (read only or read/write) and not the
already existing file that will be replaced by the newly odwnloaded one

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/propagatedownload.cpp