[PATCH 09/20] The check is refering to chmod not fchmod.