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
I save my project files to a Samba file share. Without my awareness of the shared disk being full, I overwrote a previously existing project file in LMMS without any error or warning. LMMS wrote to a file of 0KB in size and the mistake was not made known to me until later when I tried to reload the project again in LMMS.
pgib in irc suggested I write a ticket for this issue, regarding file saving errors, such as the above. I hope pgib won't mind me pasting their words here.
"10:54 <+pgib> That is a defect though: LMMS shouldn't write a 0-sized file without warning. and it definitely shouldn't overwrite an old file until the new one is committed to disk (atomic write)
...
11:48 <+pgib> Something along the lines of: Saving to a file should not corrupt existing files (save to a temporary file, then rename). Additionally, any error to create the new file should result in an error message with the ability to save to a different filesystem."
kriskropd: I made a mistake in the ticket description and I don't know how to edit the original. I mistakenly said that I did not receive an error when overwriting a file in LMMS. I did receive a warning indicating the filename already existed. What I meant was there was no error or warning that the disk was full and that the file would be corrupted.
The text was updated successfully, but these errors were encountered:
I save my project files to a Samba file share. Without my awareness of the shared disk being full, I overwrote a previously existing project file in LMMS without any error or warning. LMMS wrote to a file of 0KB in size and the mistake was not made known to me until later when I tried to reload the project again in LMMS.
pgib in irc suggested I write a ticket for this issue, regarding file saving errors, such as the above. I hope pgib won't mind me pasting their words here.
"10:54 <+pgib> That is a defect though: LMMS shouldn't write a 0-sized file without warning. and it definitely shouldn't overwrite an old file until the new one is committed to disk (atomic write)
...
11:48 <+pgib> Something along the lines of: Saving to a file should not corrupt existing files (save to a temporary file, then rename). Additionally, any error to create the new file should result in an error message with the ability to save to a different filesystem."
kriskropd: I made a mistake in the ticket description and I don't know how to edit the original. I mistakenly said that I did not receive an error when overwriting a file in LMMS. I did receive a warning indicating the filename already existed. What I meant was there was no error or warning that the disk was full and that the file would be corrupted.
The text was updated successfully, but these errors were encountered: