⚠️ This issue respects the following points: ⚠️
Bug description
Description
We have identified an inconsistency in the behavior of Collabora Online and ONLYOFFICE when working with files stored on Nextcloud External Storage.
Scenario 1: External Storage (Read-only at filesystem level)
A file is stored on an External Storage backend.
The file has read-only permissions at the filesystem level.
The user can open the file and switch to Edit Mode in Collabora Online or ONLYOFFICE.
The user can make modifications to the document.
However, when attempting to save the changes, an error is displayed indicating that the document cannot be saved.
Scenario 2: Nextcloud Share (Read-only permission)
The same type of file is shared with another user using read-only permissions through Nextcloud.
The recipient can open the document.
The recipient cannot switch to Edit Mode.
The document is correctly displayed as view-only.
This behavior appears to be the expected one.
Steps to reproduce
- Configure an External Storage in Nextcloud.
- Create a Word document on the external storage.
- Set the file permissions at the filesystem level so that User A has read-only access.
- Log in to Nextcloud as User A.
- Open the document using Collabora Online (or ONLYOFFICE).
- Switch to Edit Mode.
- Make a small modification to the document.
- Click Save.
Expected behavior
When a file is read-only because of filesystem permissions on External Storage, the user should not be able to switch to Edit Mode. The document should be opened in view-only mode, just as when a file is shared with read-only permissions through Nextcloud.
Nextcloud Server version
35 (master)
Operating system
Other
PHP engine version
No response
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
Description
We have identified an inconsistency in the behavior of Collabora Online and ONLYOFFICE when working with files stored on Nextcloud External Storage.
Scenario 1: External Storage (Read-only at filesystem level)
A file is stored on an External Storage backend.
The file has read-only permissions at the filesystem level.
The user can open the file and switch to Edit Mode in Collabora Online or ONLYOFFICE.
The user can make modifications to the document.
However, when attempting to save the changes, an error is displayed indicating that the document cannot be saved.
Scenario 2: Nextcloud Share (Read-only permission)
The same type of file is shared with another user using read-only permissions through Nextcloud.
The recipient can open the document.
The recipient cannot switch to Edit Mode.
The document is correctly displayed as view-only.
This behavior appears to be the expected one.
Steps to reproduce
Expected behavior
When a file is read-only because of filesystem permissions on External Storage, the user should not be able to switch to Edit Mode. The document should be opened in view-only mode, just as when a file is shared with read-only permissions through Nextcloud.
Nextcloud Server version
35 (master)
Operating system
Other
PHP engine version
No response
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response