Hello Mark!
> I stopped using fsvs back in the days of 1.1.12 or so because one of the
> systems on which I was using it acquired a .gvfs FUSE mount point in
> user home directories.
...
> This is despite every permutation of "ignore" I can think of:
...
> So I've tried again with 1.1.17, and the problem still persists.
> Looking at the code, the lstat in question will always cause a stop on
> permission denied.
> I was wondering if anyone has a neat workaround for this problem?
Does this (untested) patch help you?
It should cause files that return EPERM on lstat to be ignored.
I'm not sure whether I should do that for FSVS globally; but in your use-case
it might
help.
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2352782
To unsubscribe from this discussion, e-mail:
[[email protected]].Index: cprog/fsvs-3/fsvs/src/direnum.c
===================================================================
--- cprog/fsvs-3/fsvs/src/direnum.c (Revision 3508)
+++ cprog/fsvs-3/fsvs/src/direnum.c (Arbeitskopie)
@@ -586,6 +586,13 @@
sts->name);
sts->to_be_ignored=1;
}
+ if (status == EPERM)
+ {
+ /* Cannot be read; maybe a .gvfs mount point? See
+ * http://article.gmane.org/gmane.comp.sysutils.backup.fsvs.general/705
+ * */
+ sts->to_be_ignored=1;
+ }
else
STOPIF( status, "lstat(%s)", sts->name);