Skip to content

.sync-exclude.lst in subfolder overrides the one from parent folder? #1636

@jsaraiva

Description

@jsaraiva

Expected behaviour

The .sync-exclude.lst from a subfolder should add to the excludes from parent folder(s). If a parent folder excludes "node_modules/", for example, it should be excluded from subfolders too, even if they define their own exclude rules.

Actual behaviour

The subfolder's excludes completely override/ignore the excludes from parent folder(s).

Steps to reproduce

  1. Create a folder (e.g., "source"). In that folder, add an exclude for "node_modules/".
  2. Within "source", create a subfolder (e.g., "MyProject"). In that subfolder, add another exclude (e.g., "log/").
  3. Create a "node_modules" folder within "MyProject", and fill it with some content (an empty text file, or something like that).
  4. The node_modules folder and its contents are not ignored from synchronization.

Client configuration

Client version: 2.6.1stable (build 20191105)

Operating system: macOS 10.14.6

OS language: English

Server configuration

Nextcloud version: 17.0.1

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions