Fix an issue with permissions.