Wrong value for permission check on tmp/ folder.