Warning message when patch is applied? I applied a patch and I get a Warinig message.

Then it states that the patch was applied cleanly.

Can I trust this?

This is the complete code:

example@d565:~/www$ git apply -v SA-CORE-2014-005-D7.patch
Checking patch includes/database/database.inc...
warning: includes/database/database.inc has type 100755, expected 100644
Hunk #1 succeeded at 733 (offset -3 lines).
Applied patch includes/database/database.inc cleanly.
example@d565:~/www$
warning: includes/database/database.inc has type 100755, expected 100644


You can trust that the file has been applied successfully, but not that the file was in the expected state to begin with.

755 and 644 refering to numeric notation of unix-system file permissions.

What the warning says is that the patch lists the file as being not executable, but it found the file to be executable.
This had no effect on applying the contents of the patch to the file though.