add tests for symlink in dir
try fix chmodrSync for symlink