The LinkDb install method fails to correctly rename (move) the LinkDb working directory to the final directory if the parent directories do not exist.
For example if I am creating a linkdb by the name of crawl/linkdb the install method trys to rename the working linkdb directory (something like linkdb-20060523 in root of DFS) to crawl/linkdb/current. But if the crawl/linkdb directory does not already exist then the rename fails and the linkdb-20060523 working directory stays in the root directory of the DFS for the user.
The attached patch adds a mkdirs command to the install method to ensure that the parent directories exist before trying to rename.