Will this ignore sfolder/ad directory? Well except for: sfolder/ad/user subdirectory tree, and /sfolder/ad/.hidden file?
I ask this question because syncthing issues an error that it can not read a file within one of the ignored directories. So is this something that can be ignored, or does it mean the .stignore file is not being interpreted as I expected?
Also, this won’t help with the permissions denied error message, but the order does matter here, so you do need to put the ! lines first if you actually want to sync those paths.
The thing is the error comes from the filesystem watcher. And that one needs to scan the entire tree if there are inclusion patterns (starting with !), so errors might also happen on ignored items.