You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes the risk of inadvertently deleting files on the host by preventing
the deletion of files via `rm -r` on the `/remote` vfs mount point.
Fixes issue micropython#17147.
Signed-off-by: Jos Verlinde <jos_verlinde@hotmail.com>
Port, board and/or hardware
any
MicroPython version
mpremote v1.25.0
Reproduction
mpremote rm -rv :
Minimal repro:⚠️ destructive ⚠️
mpremote mount . + rm -rv :
Expected behaviour
-rm -r :/ not to affect the local filesystem
Observed behaviour
apparently the mount was retained - and therefore the
/remote
, hosts filesystem, started be removedAdditional Information
I think
\remote
should be special cased inmpremote rm -r
to guard against this behaviorCode of Conduct
Yes, I agree
The text was updated successfully, but these errors were encountered: