Symlinks not working when created

0

It is a terrible title, but I don't know how else to describe it (this is probably something very simple). I'm creating a symlink to a sub-directory one directory up:

ln -s ../src/django-countries

This executes successfully, but when I enter the symlink its contents are empty, which not the case at all. When I do an "ll" the link is there and not blinking red (which would indicate that the link is broken). The folders are there, and the permissions seem to be all correct at the location of the symlinked folder.

Any suggestions would be totally appreciated.

russjman

Posted 2011-03-10T04:27:15.630

Reputation: 138

Answers

0

You can use readlink -f to verify that the symlink actually points to where you think it's pointing.

Ignacio Vazquez-Abrams

Posted 2011-03-10T04:27:15.630

Reputation: 100 516

1it is in fact pointing to the right place. The was no actual content in the folder, despite being told otherwise by another developer who was working from the same git repository. Sry to waste your time. – russjman – 2011-03-10T05:13:07.167