stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.74k stars 180 forks source link

Replace Doesn't Honor Read Only Flag #382

Open mdpenguin opened 1 year ago

mdpenguin commented 1 year ago

grepWin will replace text in files flagged as read-only

Using version 2.0.13.1197

stefankueng commented 1 year ago

that's by design. If the file is writable (flags don't matter) then a replace is done.

mdpenguin commented 1 year ago

I don't understand why this would be by design. Would it bypass permissions if that were possible?