-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data loss in editor when disk is full #2470
Comments
that's kinda a user error. your editor => options => save mode is "quick safe" instead of "safe save", which implies that you have to assume that a file error during saving will actually clobber an existing file.
i don't know what the default is, though. arguably, "safe save" might be the better choice. |
Yes, "safe save" does not loose data, it creates empty cooledit5aU2Cc file in the same directory. But I don't agree it's a user error. Software should never loose data. If you choose to not correct "quick save", a warning in big letters should be added "DATA CAN BE LOST". |
|
see #15 |
|
Important
This issue was migrated from Trac:
nerijus
(nerijus@….sourceforge.net)I have partition which is full, so I cannot write to it as a normal user (I can as root):
$ df -h
Failų sistema Size Used Avail Use% Prijungta prie
/dev/md2 380G 361G 0 100% /mnt/d
There is a text file in this partition:
$ ls -l test_file
-rw-rw-rw- 1 nerijus nerijus 10 2011-01-10 03:59 test_file
I edit (F4) it, enter few letters and press F2. Instead os saving file, mc opens "Save As" dialog with file name written. Pressing Enter gives "Cannot save file". I still see file contents in the editor, but
$ ls -l test_file
-rw-rw-rw- 1 nerijus nerijus 0 2011-01-10 04:02 test_file
shows that file's length is already 0. As I cannot save file, I quit editor w/o saving and file content is lost.
The text was updated successfully, but these errors were encountered: