rear/rear — pull request #362 by sanderu (2014-01-27 09:00:03+00:00)
Title: Adjusting PermitRootLogin and PasswordAuthentication if SSH_ROOT_PASSWOR...

...D is set

ReaR first sets up array of files to be copied. So any attempt to edit a file before copy, will be unsuccessful.
The first patch tried to edit a file that wasn't there .

I don't know why it worked the first time (probably a PEBKAC), but this change has been tested several times now, and works everytime.