Skip to content

[Bug]: Windows NextCloud client v4.x - local NTFS rights on shared folder trouble #9293

@aleskomarek

Description

@aleskomarek

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

Bug description

We have trouble with windows NextCloud client v4.x on Windows 11 (x64) system with wrong local NTFS rights.
We have account "user1" on our NextCloud server v32.0.3 (Rocky Linux v9, PHP v8.3.29). Account user1 is sharing folder "shared-folder" to another account "user2" - sharing rights settings: read and delete.
On Windows system with installed NextCLoud client v4.0.4 we are connected as "user2" and we are synchronizing files to local folder c:\nextcloud.
After first synchronization is created local folder "c:\nextcloud\shared-folder" with all content. But nextcloud client sets local NTFS rights to shared folder "c:\nextcloud\shared-folder" and all files located inside with special rights - extended rights: Deny for create and delete files.
With this settings is inpossible delete files in local folder "c:\nextcloud\shared-folder" on local Windows system.
If we install last version 3.x (Nextcloud-3.17.4-x64.msi) all is ok and everything working as expected.

What is wrong with NextCloud v4.x for Windows systems?

Thank You for Your help.
Best regards,
Ales

Steps to reproduce

  1. create accounts "user1" and "user2" on nextcloud server
  2. create forder "shared-folder" in "user1" account and share this folder to "user2" with right settings: read and delete
  3. install nextcloud desktop client v4.0.4 on windows 11 system and connect as "user2" a synchronize files content to local folder "c:\nextcloud"
  4. run first synchronization
  5. check local folder "c:\nextcloud\shared-folder" properties - security - advanced and search special rights with Deny access type - extended rights for create and delete
  6. unable delete files inside local folder "c:\nextcloud\shared-folder"

Expected behavior

We can delete files in local folder "c:\nextcloud\shared-folder" on Windows system.

Which files are affected by this bug

all files

Operating system

Windows

Which version of the operating system you are running.

Windows 11 25H2

Package

Official Windows MSI

Nextcloud Server version

32.0.3

Nextcloud Desktop Client version

4.0.4

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

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions