[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59003] movefile.m shows message about permiss
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #59003] movefile.m shows message about permissions |
Date: |
Wed, 26 Aug 2020 06:42:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 Edg/84.0.522.63 |
Follow-up Comment #3, bug #59003 (project octave):
I'm not sure if the implementation of "mv" for msys2 differs. But reading
about "mv" in bash, it does the following iiuc:
1. Copy the file from source to destination.
2. Set the permissions on the destination to match the source.
3. Delete the file at the source.
Step 2 can fail if the destination file system doesn't allow setting the
permissions (typically the case on network shares) or if the user doesn't have
permission to change the file permissions (that actually exists afaict).
If I got this right, the file won't be moved if the second step fails. Tbh, I
don't know what that exactly means. Maybe the file is still copied. But the
original file isn't deleted?
Does the file disappear at its source after the failed move?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59003>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/