test for chmod (revert)