-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
always propagate locked status to read-only or read/write for real file #5841
Conversation
/backport to stable-3.9 |
9de4574
to
fa18fa7
Compare
fa18fa7
to
3c893e5
Compare
6d21c43
to
ffea7b3
Compare
make sure that a file locked that would not be modifiable by the current client is read-only on storage also make sure we make a file read/write when modification can happen again Close #5537 Signed-off-by: Matthieu Gallien <[email protected]>
should help investigate failure for automated tests Signed-off-by: Matthieu Gallien <[email protected]>
we try to preserve complex existing permissions unless the client is required to change them significantly Signed-off-by: Matthieu Gallien <[email protected]>
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 <[email protected]>
ffea7b3
to
bc28bc4
Compare
AppImage file: nextcloud-PR-5841-bc28bc43c3fdd0fbc3b532aae4671e9a878df1af-x86_64.AppImage |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5841 +/- ##
==========================================
+ Coverage 60.08% 60.13% +0.05%
==========================================
Files 145 145
Lines 18711 18718 +7
==========================================
+ Hits 11242 11256 +14
+ Misses 7469 7462 -7
|
Kudos, SonarCloud Quality Gate passed! |
make sure that a file locked that would not be modifiable by the current client is read-only on storage
also make sure we make a file read/write when modification can happen again
Close #5537