.htaccess file changes disappear
This is what happens in a Wordpress (Woocommerce) site I've been asked to investigate.
1) I make a modification to .htaccess and save it.
Here's output of the ls -command
% ls -l ll -r--r--r-- 1 user group 248 Sep 7 11:31 .htaccess
2) Just a moment later
% ls -l -r--r--r-- 1 user group 235 Jul 20 09:42 .htaccess
The changes have disappeared. Note the changed date in the file (apparently it is copied from somewhere).
What is causing this? And how do I stop it from happening?