Locked file implications for shared documents/folders for shared link users

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • Nginx
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Nginx
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • replace me
  • When did this problem seem to first start?
    • 10th of April 2026
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Locked files seems to be to be editable to the outside shared link user, it would be better to show the lock icon or similar as with normal nextcloud users.

Steps to replicate it (hint: details matter!):

  1. Make a new folder to the users files, upload few files to it and share the folder with edit rights to outsiders with the link.

  2. Lock some files inside that folder to prevent the edit of the files for anyone.

  3. Test the share with the link and try to upload a updated file which had the lock on it by the nextcloud real user

  4. For the link user he/she can try to delete file and rename it but they fail as they should with reasonable error messages. What is bad is that this user can start to upload a new version of the locket file and can choose wether to replace or not the file and start the upload → upload never succeed which is correct

  5. BUT it should show the lock icon for this outsider user also OR display error message in the first place that the file could not be edited.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

(none)

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

(none)

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

(none)

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

(none)

Apps

The output of occ app:list (if possible).

(none)