PermissionError is a subclass of OSError, so it was caught by the broad timeout/io handler and classified as transient. An unreadable file would retry 5 times then DLQ — permissions don't fix themselves without operator intervention. Add an explicit PermissionError check before the OSError catch so unreadable files go straight to the DLQ. |
||
|---|---|---|
| .. | ||
| rag | ||