Skip to content
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]: Synchronisation error - Permission denied #6796

Closed
5 of 8 tasks
loulous24 opened this issue Jun 5, 2024 · 1 comment · Fixed by #6839
Closed
5 of 8 tasks

[Bug]: Synchronisation error - Permission denied #6796

loulous24 opened this issue Jun 5, 2024 · 1 comment · Fixed by #6839

Comments

@loulous24
Copy link

⚠️ Before submitting, please verify the following: ⚠️

Bug description

On Linux, when synchronising a file that has been modified by someone else and is only shared with read-only permission, the synchronisation gives an error, "permission denied".

It is because the Nextcloud client sets the permission of the file to read-only and is not able to write it again locally when it is modified.

Steps to reproduce

  1. User A create a file
  2. Share the file to user B with read-only permission
  3. User B synchronises the file
  4. Use A modifies the file
  5. User B has an error "permission denied" when doing the synchronisation again.

Expected behavior

The client should set the permissions to read-write, modify the file and set again the local permissions to read-only.

Which files are affected by this bug

All files with read-only permission that are modified by someone else

Operating system

Linux

Which version of the operating system you are running.

Fedora Linux 39

Package

Appimage

Nextcloud Server version

28.0.3.2

Nextcloud Desktop Client version

3.13.0

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

No response

Additional info

No response

@jstephenson
Copy link

jstephenson commented Jun 10, 2024

I'm experiencing this with the current version of the desktop client (3.13.0) on Linux as well. Items are synced with read-only filesystem permissions, and the Nextcloud client is then unable to modify them as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants