Data loss caused by move to SMB share #653
I have tried to move a file to a mounted SMB share where I don't have write permission because the network share was mounted as root (in rw mode), but I was not running fman as root.
Fman warned: "Error copying example.txt (permission denied). Do you want to continue?"
I pressed "Yes" and guess what: the file didn't got copied obviously, but it got deleted from the source location.
I think this is a critical bug as it leads to data loss.
The text was updated successfully, but these errors were encountered:
Very sorry for the trouble. Unfortunately, I cannot reproduce this. Here's what I tried:
As expected, fman opened a dialog
Are you sure this is reproducible?
No problem, I haven't lost anything serious.
But I have found an easier way to reproduce it (without setting up a test network with Samba and everything):
Create an ISO file (or download any CD image from somewhere)
Mount the ISO file as loop device (will be mounted as readonly)
...it will complain that the filesystem is read-only, but the testfile will remain in place, however if you try to move the testfile with fman, it will get deleted