[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63265] rmdir fails to remove directory contai
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files |
Date: |
Sat, 29 Oct 2022 20:06:20 -0400 (EDT) |
Follow-up Comment #21, bug #63265 (project octave):
I just did a test with R2022b, and indeed "delete" seems to take care of
individual read-only files too.
The calls as seen by the usual procmon don't even seem to differ between the
normal and r/o cases (suggesting they might not even be doing any particular
check, they just steamroll over everything and anything).
Not really a fan of this tbh, even though this is probably what they also use
for rmdir.
TIL about unlink.
According to stackoverflow and msdn SHFileOperation could get you a very short
and simple way to recursively delete non-empty folders and their content (but
maybe that's too high level for your tastes, and alas maximum matlab
compatibility would still require other adjustments anyway).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63265>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, (continued)
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Philip Nienhuis, 2022/10/26
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Nicholas Jankowski, 2022/10/26
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, John W. Eaton, 2022/10/26
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/27
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/27
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, anonymous, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, John W. Eaton, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, John W. Eaton, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files,
anonymous <=
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Nicholas Jankowski, 2022/10/29
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/30
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, anonymous, 2022/10/30
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Markus Mützel, 2022/10/31
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, Philip Nienhuis, 2022/10/31
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, anonymous, 2022/10/31
- [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files, John W. Eaton, 2022/10/31