allow skip lchmod in tests