Try giving absolute path with the 'ln' command. Ex. ln -s /home/foo/bar /var/www/bar2
-- Regards Chirag Anand Blog: http://www.techfreaks.com/blog/?author=16 anything weird is worth a try... On 21 Jul 2011 00:05, "Parveen Arora" <[email protected]> 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. > > > > -- > Parveen Arora > www.parveenarora.in > E-Mail: [email protected] > > -- > Mailing list guidelines and other related articles: http://lug-iitd.org/Footer -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
