PropagateDownload: Don't try to open readonly temporaries
authorChristian Kamm <mail@ckamm.de>
Fri, 23 Aug 2019 12:49:24 +0000 (14:49 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:58 +0000 (10:58 +0100)
commit3446412d92f5f1527afe392ecb46040d9a9ac8a0
treec1e7161c1c455db2c30298da86e28afccacb52b5
parentf78c4f851b6b25e52a90ad8af9aa739acad8fbf8
PropagateDownload: Don't try to open readonly temporaries

This situation could arrise when receiving a read-only share and the
temporary rename failed for some reason.

See #7419
src/libsync/propagatedownload.cpp