[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59003] movefile.m shows message about permiss
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #59003] movefile.m shows message about permissions |
Date: |
Thu, 1 Sep 2022 03:19:57 -0400 (EDT) |
Follow-up Comment #6, bug #59003 (project octave):
OK I had some time to investigate a little.
Turns out 'movefile.m' seems to invoke the "DOS"/Windows command "move.exe",
and that is the command that emits the complaints. See L.71-79 of movefile.m:
:
if (ispc () && ! isunix ()
&& isempty (file_in_path (getenv ("PATH"), "mv.exe")))
## Windows.
cmd = "cmd /C move";
cmd_force_flag = "/Y";
else
cmd = "mv";
cmd_force_flag = "-f";
endif
:
If I try with the MSYS2 'mv.exe' command, no messages are emitted (but no
guarantees it can preserve permissions either :-) ). But - it *does* move the
file.
As to the popup in comment #4, that isn't quite limited to Octave, I've seen
that before in several other occasions.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59003>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59003] movefile.m shows message about permissions,
Philip Nienhuis <=