chmod on index rebuild