nextcloud / nextcloud/files_lock
GUI shows file as being locked but it isnt locked at all and anyone can edit the file.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 10
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 48
Description
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
- Install the "temporary files lock" plugging
- Lock a file.
- 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) ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the temporary files lock plugin on the reported Nextcloud 22.2.0 setup, using PostgreSQL 12.20 and PHP 7.4.3 as provided. Trace the lock behavior from the GUI through the server response; done means another user cannot edit a locked file and the GUI state matches the enforced lock.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, postgresql
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100