Hi. I know this question has already been asked here already, but the resulting thread and linked pull request suggests that everything should work already as is.
I want to ignore everything in my home folder and sync the folders from the top 3 lines. However, when file watchers are enabled, I get this warning: error while traversing /home/foo/bar/some_restricted_folder: permission denied
I was under the impression, that since my include patterns start with / it should not scan anything else, and yet it does. Is this a regression, or am I doing something wrong?
Your deep patterns mean it doesn’t qualify, unfortunately. That is, if you said
!/.themes
!/.mozilla
!/.local
*
it would do what you expect (for those dirs), but as written above we need to scan .local and .local/share and .local/share/gnome-shell despite the rest of .local being ignored, and this exceeds the intelligence of the optimizer. (It’s not the smartest dude around.)
I would suggest not doing what you do, instead having a ~/.synced-files or something with the data you want to sync, and symlinking into that from ~/.themes etc.
I don’t mind it scanning .local, but it starts scanning other folders in my home folder as well. The restricted folder is actually in ~/Documents/work/
do you want to say that the hack with series of included/excluded subfolders is still relevant? I believe this bug was fixed around v1.5.0 and do not use this with the latest versions in my project.