Nextcloud Desktop always syncs new external storage files

Nextcloud version: 17.0.1
Operating system and version: Ubuntu 18.04
Apache or nginx version: Apache 2.4.29
PHP version: 7.2.24


I have access from Nextcloud to SMB external storage; some users sync folders inside the SMB share with Nextcloud Desktop to their local HDs. When administrators (or other users) create new folders inside the SMB share these are automatically synced with local HDs for the users who has access to it.

This is very annoying, because users have to uncheck that folders manually at nextcloud desktop in order for them to not be synced.

Is there any way to avoid the automatic syncing of new folders inside a SMB share from nextcloud desktop?


Steps to replicate it:

  1. Sync one folder from SMB share via Nextcloud Desktop
  2. Create a new folder inside the shared SMB via explorer
  3. Wait for nextcloud to scan the new files/folder (files:scan --all)
  4. Check in Nextcloud Settings that the newly created folder is synced to local HD.