octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63265] rmdir fails to remove directory contai


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files
Date: Thu, 27 Oct 2022 01:57:56 -0400 (EDT)

Follow-up Comment #14, bug #63265 (project octave):

`unlink` is an Octave-only function. So, there is no Matlab-compatibility
concern any way. 
I'd guess that most functions are written with the behavior of the POSIX
function in mind that doesn't know of a read-only file attribute. So, I don't
know if there are many (or any?) places where we (intentionally) rely on the
current behavior of `unlink` on Windows.

I agree that it might be a lower risk to just change the function(s) that are
affected with compatibility issues. I was only wondering if that justifies the
additional complexity.

Both approaches are fine with me. 
I understand that the consensus is that we should add a version of `unlink`
that ignores the read-only file attribute on Windows.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63265>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]