Redmine#2100: acceptance test for chmod on an immutable file

See https://cfengine.com/dev/issues/2100