files_lock icon indicating copy to clipboard operation
files_lock copied to clipboard

GUI shows file as being locked but it isnt locked at all and anyone can edit the file.

Open ste-svg opened this issue 11 months ago • 2 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install the "temporary files lock" plugging
  2. Lock a file.
  3. Another use can open the file and edit it as if it wasnt even locked evne though the GUI shows the file as being locked

Expected behaviour

The file should be locked and prevent any other users from changing it.

Actual behaviour

The GUi shows the file being locked but it isnt even locked at all and anyone can edit it.

Server configuration

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL PostgreSQL 12.20 PHP version: 8.1/8.2/8.3 7.4.3

Nextcloud version: (see Nextcloud admin page) 22.2.0

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/… Chrome Browser version: 124/125/… latest Operating system: Windows/Ubuntu/Mac/… Windows 10, windows 11

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

ste-svg avatar Jan 30 '25 16:01 ste-svg

Nextcloud version: (see Nextcloud admin page) 22.2.0

Are you really using v22 which reached end-of-life 3 years ago?

joshtrichards avatar Feb 07 '25 18:02 joshtrichards

We have installed the last version (v 31.0.1) of "Files lock" on a v30 Nextcloud... and we meet the same issue : the GUI shows that the file (a mindmap document .km) is locked... but it's still writable !!

Yann-974 avatar Feb 19 '25 06:02 Yann-974