How WordPress check filesystem permissions

When you re about to perform a filesystem operation, WordPress will check if you re able to perform the changes before actually doing it. This is defined on the get_filesystem_method() function, from /wp-admin/includes/file.php. What WordPress actually does is compare the file owner of the file itself and a temporal file created on the /wp-content/plugins folder. So, there [ ]