Closed m5lk3n closed 1 year ago
"No files" is displayed instead.
lets show "open operation not permitted" insteasd
I tried to make it a bit more generic with the 2nd commit. Now, a "Not permitted" error message is appended to the location bar in folders that can't be viewed. The message disappears on folder exit again. This way, it doesn't interfere with the current app behavior and layout. It also leaves the door open for other errors like timeout. Last, it's inline with e.g. native file explorers that show an error message but just don't list files. Hope that's ok.
On macOS, when entering a directory for which the user has no (reading) permission, this fix avoids a panic, e.g. for
.Trash
:"No files" is displayed instead.