On 07/21/2011 12:04 AM, Parveen Arora wrote: > Hello Everyone, > I need to create the symbolic link between two directories, i.e > between a folder with the folder in /var/www/ so that I can show the > files of folder in the browser without copying files to it. > But I am following a problem of recursion in this. > I am using the following command: > sudo ln -s ~/bin/mapnik/tiles /var/www/OSMAP > > but there is recursion of tiles folder such that folder 'tiles' is > generated in recursion. > e.g. > parveen@linux:/var/www$cd > tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles > > parveen@linux:/var/www/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles/tiles$ls > tiles > > Can you please tell me why I am getting this problem and how to resolve it. > > Thank You. > > >
Have you checked the tiles folder itself? It may have a symlink to (.)! Many distributions place such a symlink in /boot I.e., /boot/boot is a symlink to /boot/. Infinite nesting! -- Regards, Nilesh Govindarajan @nileshgr on twitter/identica -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
