diff options
author | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2020-12-07 18:24:37 +0100 |
---|---|---|
committer | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2022-08-25 11:11:49 +0200 |
commit | b6065a236fe470e37b28e768d9e09b25e92b470d (patch) | |
tree | 90895380a119406a658992b0e984b7e40be4c66f /apps/files/js/jquery-visibility.js | |
parent | 9b5569ff74bbc099af7c2010471bae8958aa9dd4 (diff) | |
download | nextcloud-server-b6065a236fe470e37b28e768d9e09b25e92b470d.tar.gz nextcloud-server-b6065a236fe470e37b28e768d9e09b25e92b470d.zip |
files: make OC\Files\Storage\Local WORM friendly
Some filesystems run as a Write-Once-Read-Many storages. This
makes them impossible to use with NexeCloud, as the file system
layers uses `truncate` syscall (through file_put_contents function).
As Nextcloud is never updates existing files, removing the old entry
and creatint a new one on update will allow NextCoud to update on such
file systems.
Update Local#fopen and Local#file_put_contents to remote existing
file before truncating.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Diffstat (limited to 'apps/files/js/jquery-visibility.js')
0 files changed, 0 insertions, 0 deletions