Revert "dir modify"

This reverts commit 7342922e003901c2eaa1f1ff9aceca6b061247d9.