Fixed scoring for file permissions check