View Single Post
Old 12-21-2022, 11:18 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,399
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why are you even editing read only files? what is it you hope to achieve by doing that? Editing a file that you dont want changed is well...

And this was a deliberate feature, introduced in 5.37 which you can see in https://calibre-ebook.com/whats-new

And it was introduced precisely to prevent someone from losing hours of work if they happen to edit a file that was readonly for a random reason and they dont know how to fix file permissions (which is surprisingly common).

And yes there could be a warning dialog, but implementing one is too much effort for this, at least for me, patches welcome.
kovidgoyal is offline   Reply With Quote