Check gitignore permissions.