make folders read-write when needed when deleting local items
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 19 Aug 2024 13:04:58 +0000 (15:04 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Wed, 21 Aug 2024 12:38:21 +0000 (14:38 +0200)
commit8dcbdebd02b902e7524a8ef6b068b27ec2ad70ae
tree2bc3adfbd7904c272137e20cfbaeda894d61825d
parentabde33e7e526ff1e703564a1f35f45cb6ee3128f
make folders read-write when needed when deleting local items

if a folder is read-only, when deleting content inside this folder, it
may be needed to make it temporary read-write

do this as required by the automated tests

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