Prevent updates from over-writing modified file

Hi,

is there any way to prevent an update from overwritting a modified file?. we modfied the reset_text.tpl as this template is a total joke and embarssment. (sorry to be harsh… put in a request in github to fix this many months ago and provided the adjusted text).
We didn\t realize it was overrwrite… when we rolled out the new system, we were fielding dozens of calls to verify if the message was legit or not

not asking for much, a few br’s and p’s…

> Hello %fname%,<p>
> 
> We have received a password reset request for your account: %username%.<br>
> If this request wasn't initiated by you, you can safely disregard this message.<p>
> 
> Please click on following link to change your password:<br>
> 
> %link%<p>
> 
> This request is valid until: %valid%<p>
> 
> Sincerely,<br>
> ABC Widgets<br>

changed the owner to root:root, will the updates be prevented from overwritting this file?

thanks,

You could maybe use chattr on the file

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.