Commit f44bba8
The command-line program `rm` has no problem deleting an empty directory
that we do not have listing permissions on, so we should follow suit.
Example:
```
mktempdir() do dir
mkpath("$(dir)/foo")
chmod("$(dir)/foo", 0o200)
rm(dir; recursive=true)
end
```
(cherry picked from commit d0a211a)
1 parent fb6cf73 commit f44bba8
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1519 | 1519 | | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | | - | |
| 1522 | + | |
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | | - | |
| 1526 | + | |
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
| |||
0 commit comments