truncated .htaccess and wp-config.php on out-of-disk-space condition
-
Hi,
Due to a temporary out-of-space condition we experienced some downtime on our site, due to better-wp-security updating the files at exatly that moment.
Looking at the code, this should be possible to be handled by writing a temporary file in the same directory and calling rename() if the write doesn’t fail, in ITSEC_Lib_File::write() for all cases that are non-append. This will help also in situations in which for some other reason the file writing might fail (completely or partially).
Does that make sense, and if yes, would a patch for this functionality be accepted?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘truncated .htaccess and wp-config.php on out-of-disk-space condition’ is closed to new replies.