bugs found: rmdir, symlink