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]: (VFS) - Read-only attribute of a previously Locked file is not synchronized in the first time the file is opened on the desktop client #5130

Closed
5 of 8 tasks
vagner-dias opened this issue Nov 4, 2022 · 1 comment

Comments

@vagner-dias
Copy link

vagner-dias commented Nov 4, 2022

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

Bug description

When a shared file is already locked by a user in Nextcloud and another user wants to open the same file for the first time, nextcloud synchronizes the locked file without the read-only attribute and allows the second user to edit the already-locked file

Steps to reproduce

Scenario:

  • 2 Users: UserA and UserB have access to FileA
  • Both users are using nextcloud desktop sync app.
  • Temporary files lock application is enabled on the server

UserA has FileA already synchronized on its computer
UserB does not have FileA synchronized

UserA locks FileA and starts to editing it

UserB opens FileA for editing

At this moment, FileA is synchronized for UserB, however, the Read-only attribute is not set on the file, allowing UserB to edit the file.

Expected behavior

FileA should be synchronized for UserB with the Read-only attribute set, so that the file would not be edited by both users

Which files are affected by this bug

Any file accessible by more than one user

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Distro package manager

Nextcloud Server version

24.0.5

Nextcloud Desktop Client version

3.6.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?

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

Nextcloud Server logs

No response

Additional info

No response

@vagner-dias vagner-dias changed the title [Bug]: (VFS) - Read-only attribute of a Locked file is not synchronized in the first time that a non-synchronized file is opened on the desktop client [Bug]: (VFS) - Read-only attribute of a previously Locked file is not synchronized in the first time the file is opened on the desktop client Nov 5, 2022
@Mika-6-9
Copy link

Hello.
I think it's closed with #5841

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

No branches or pull requests

3 participants