Remove unused dir permission checking