Wrong value for permission check on tmp/ folder.

This fixes it :)