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:
Thomas Waldmann 2024-02-25 11:21:44 +01:00
parent db75521b79
commit eb79b1f13f
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ class BackupIO:
E_MAP = {
errno.EPERM: BackupPermissionError,
errno.EACCES: BackupPermissionError,
errno.EBUSY: BackupPermissionError,
errno.ENOENT: BackupFileNotFoundError,
errno.EIO: BackupIOError,
}