Add resource for shared directories.