> How could this be solved correctly? Rules with a trailing / must only apply to directories but to know about this, you need to call stat().
I agree and don't see another way than modifying the regular expressions. I've opened a separate bug to handle this isse and commited a fix: Regular expressions defined in default configuration can be improved (LP #1097465). The default RegExs as of now read: + self._regex_excludes = "^/home/[^/]+?/\.gvfs(/|$),"\ + "^/home/[^/]+?/\.thumbnails(/|$),"\ + "^/home/[^/]+?/\..+/[tT]rash(/|$),"\ + "^/home/[^/]+?/\.cache(/|$),"\ + "^/home/[^/]+?/\..+/[cC]ache(/|$),"\ + "^/home/[^/]+?/\..+/lock(/|$),"\ "~$" Using this expressions and the fix pushed for this bug (LP #980786) should remove all remaining unwanted warnings and errors from your log. regards, jean-peer -- You received this bug notification because you are a member of Simple Backup Maintainers, which is subscribed to sbackup. https://bugs.launchpad.net/bugs/980786 Title: Don't complain about non-accessable excluded files To manage notifications about this bug go to: https://bugs.launchpad.net/sbackup/+bug/980786/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nssbackup-team Post to : nssbackup-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~nssbackup-team More help : https://help.launchpad.net/ListHelp