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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files
Date: Wed, 26 Oct 2022 17:17:37 -0400 (EDT)

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

On Unix systems deleting a file requires modifying the directory, not the file
itself so it is not the readability of the file that matters, only whether
there is write permission for the directory containing the file.

I agree with Philip that we shouldn't change the behavior of unlink.  Fixing
the Matlab compatibility of rmdir on Windows seems reasonable if someone wants
to work on that.




    _______________________________________________________

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]