files_lock icon indicating copy to clipboard operation
files_lock copied to clipboard

Research on automatic locking with office temp files

Open juliushaertl opened this issue 2 years ago • 2 comments

There are some interesting bits in the sea file implementation about automatically detecting lock files from msoffice/libreoffice

https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3854-L3855

https://github.com/haiwen/seafile/blob/207bd49dcc26ce9600209a7c8720778dd978c5aa/daemon/repo-mgr.c#L3515-L3557

Might be worth to have another look if we can either detect that in the clients and lock the file automatically, or sync the lock files and handle that on the server (that however is currently on the list of ignored files in the client)

juliushaertl avatar May 12 '22 09:05 juliushaertl