mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
create: deal with EBUSY, fixes #8123
I put it into same class as EPERM and EACCES: BackupPermissionError: borg is not permitted to access the file.
This commit is contained in:
parent
db75521b79
commit
eb79b1f13f
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
|
|||
E_MAP = {
|
||||
errno.EPERM: BackupPermissionError,
|
||||
errno.EACCES: BackupPermissionError,
|
||||
errno.EBUSY: BackupPermissionError,
|
||||
errno.ENOENT: BackupFileNotFoundError,
|
||||
errno.EIO: BackupIOError,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue