diff options
authorMartin Ebourne <>2006-02-17 02:26:35 +0000
committerMartin Ebourne <>2006-02-17 02:26:35 +0000
commit72a9f5cc0dc4f55716b1c2f48a75a304aabade00 (patch)
parentf1f5bde35ded46f59a5b8ed1ee43f37e313e4576 (diff)
On XFS the file permissions appear to apply also to the extended attribute data. ie. If a file is not readable then nor is the extended attribute data - even if there isn't any this is still an error.
This is not an ideal fix for this problem. Really we should notify a read-error as we do for file read permission problems and continue, but the BackupClientFileAttributes code is called from multiple locations and it is not clear that it could always report the error in such a way, nor even continue. This alternative is better than aborting the whole run. In the case where a file isn't readable this will be found and reported elsewhere anyway.
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupclient/BackupClientFileAttributes.cpp b/lib/backupclient/BackupClientFileAttributes.cpp
index 3bb7dfeb..974db3c9 100644
--- a/lib/backupclient/BackupClientFileAttributes.cpp
+++ b/lib/backupclient/BackupClientFileAttributes.cpp
@@ -555,7 +555,7 @@ void BackupClientFileAttributes::FillExtendedAttr(StreamableMemBlock &outputBloc
- else if(listSize<0 && errno!=EOPNOTSUPP)
+ else if(listSize<0 && errno!=EOPNOTSUPP && errno!=EACCES)
THROW_EXCEPTION(CommonException, OSFileError);