diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-03-08 17:21:59 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-03-08 17:21:59 +0000 |
commit | 0cde1cd04266e72449e62df2c895653179cc7caf (patch) | |
tree | 317c7b5ba910f6265bc90a2d440f246093e344bb /rdiff-backup/rdiff_backup | |
parent | c4ba05b9f99e34bca4c5c8faaed89c1c8b4d0ed2 (diff) | |
download | rdiff-backup-0cde1cd04266e72449e62df2c895653179cc7caf.tar.gz |
Handle EACCES as well as EPERM
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-2@1038 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/backup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py index e152d8f..5dbd0a7 100644 --- a/rdiff-backup/rdiff_backup/backup.py +++ b/rdiff-backup/rdiff_backup/backup.py @@ -211,7 +211,7 @@ class DestinationStruct: try: return Rdiff.get_signature(dest_rp) except IOError, e: - if (e.errno == errno.EPERM): + if (e.errno == errno.EPERM or e.errno == errno.EACCES): try: # Try chmod'ing anyway -- This can work on NFS and AFS # depending on the setup. We keep the if() statement |