-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Permission denied for the creation of a new file inside a read-only permission folder #6884
Comments
Same here with server 27.1.11, Default internal user-backend, and Arch Linux / Manjaro client packages. Versions 3.13.0-3.13.1 are broken. Verison 3.12.3 is fine, downgraded to it. |
Probably related: A sub-folder with files in an already synced read-only folder got deleted. The files are gone, but the folders cannot be deleted. Windows 11, Nextcloud Client 3.13.2, Server 28.0.6 |
We have the same problem as reported by abrain: On a groupfolder, a sub-folder with files in an already synced read-only folder gets deleted. The files are gone, but the folders cannot be deleted. Windows 10 or 11, Nextcloud Server 29.0.3, Nextcloud Client 3.13.2 |
Can confirm the error with following scenario:
The only way to get rid of the folder is that User 1 restores the deleted folder and changes the permissions of User 2 that writing is allowed too. Here is some information
The Server Version ist 28.0.8 |
I have been able to reproduce the following with server 27.1.3, desktop client 3.13.2 on linux, groupfolder 15.3.8:
So the only actions that throws an error is delete.
I could not reproduce any errors with this scenario (a simple shared folder). |
I also tried with sub folders on Linux and Windows. |
I also try creating the files/folder in the web and via another client. |
Same here on my Kali-Linux... (Nextcloud Desktop-Client 3.13.2 on local EXT4-Filesystem) |
I have the same problem here in the company. MacOS with Nextcloud Client 3.13.2 |
I have the same issue but with a folder created by myself for myself. On my desktop, I created a folder named Backup within my Nextcloud directory. On my Android phone, I created a sub folder for Signal backups within that folder (using the same Nextcloud user though). I can sync Signal fine from my phone to that folder in Nextcloud, but back on my desktop I get the permission denied error from Nextcloud Desktop (while still being able to access the backed up files without issues) resulting in a permanent red exclamation mark in my taskbar. It's basically a cosmetic issue for me but still annoying. |
I think it is a different issue so you can open another issue though. |
Bug description
When someone with read-write permission of a folder create a new file inside it and I try to synchronise again the folder whereas I only have read permission, there is an error in the synchronisation "Permission denied".
Steps to reproduce
Expected behavior
The file is created inside the folder. The permissions are set correctly for the folder (read-only) and for the file (read-only too).
Which files are affected by this bug
All files created inside a read-only permission folder
Operating system
Linux
Which version of the operating system you are running.
Fedora Linux 39
Package
Appimage
Nextcloud Server version
29.0.2.2
Nextcloud Desktop Client version
3.13.1
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
No response
Additional info
I did not noticed this bug in #6796 which was happening when a read-only permission file was modified but is related to the way permission are managed by Nextcloud Desktop for Linux. The branch #6839 did not fix the problem (as it happens with version 3.13.1).
The text was updated successfully, but these errors were encountered: