|author||Martin Ebourne <email@example.com>||2006-02-17 02:26:35 +0000|
|committer||Martin Ebourne <firstname.lastname@example.org>||2006-02-17 02:26:35 +0000|
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.
Diffstat (limited to 'lib')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupclient/BackupClientFileAttributes.cpp b/lib/backupclient/BackupClientFileAttributes.cpp
index 3bb7dfeb..974db3c9 100644
@@ -555,7 +555,7 @@ void BackupClientFileAttributes::FillExtendedAttr(StreamableMemBlock &outputBloc
- else if(listSize<0 && errno!=EOPNOTSUPP)
+ else if(listSize<0 && errno!=EOPNOTSUPP && errno!=EACCES)