Add link resource for directory symlinks.