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]: Leave Share in subfolder of share deletes folder in remote share #7622

Open
6 of 8 tasks
kuhnchris opened this issue Dec 9, 2024 · 0 comments
Open
6 of 8 tasks

Comments

@kuhnchris
Copy link

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

Bug description

"Leave Share" on a subfolder of a shared folder causes deletion of said subfolder for everyone - basically, leaving a share causes deletion of a folder in someone else's share folder - i.e. "remote file deletion"

Steps to reproduce

  1. Create folder on Nextcloud
  2. Create multiple subfolders (and files) within that 1st folder (i.e. level 2 and below)
  3. Share that first folder with a person
  4. The person syncs the top folder and all subfolders via desktop app
  5. The person enters the top folder and has a list of the subfolders in explorer
  6. With the Nextcloud Desktop integration, the person rightclicks on a subfolder and selects "Leave share"
  7. The folder and all it's content is deleted (moved to files_trashbin on the server)

Expected behavior

The selected folder will not be synced anymore as one or more subfolder of the shared folder aren't "relevant" and don't need to have data synchronized

Which files are affected by this bug

All folders and files within the folder that "Leave share" was executed on

Operating system

Windows

Which version of the operating system you are running.

Win 10

Package

Official Windows MSI

Nextcloud Server version

30.0.2

Nextcloud Desktop Client version

3.14.1

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

N/A

Additional info

Potentially similar to #7281, but I'm not sure if a "groupfolder" is the same as a "share".

@kuhnchris kuhnchris changed the title [Bug]: [Bug]: Leave Share deletes folder in remote share Dec 9, 2024
@kuhnchris kuhnchris changed the title [Bug]: Leave Share deletes folder in remote share [Bug]: Leave Share in subfolder of share deletes folder in remote share Dec 9, 2024
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

1 participant