Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my Linux system, I want to create a symbolic link to a folder on my Windows 7 partition formatted FAT32. I use:

sudo ln -s /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft

However, I end up with a file in my home directory called .minecraft and when I try to access it, I receive:

bash: CD: .minecraft: Too many levels of symbolic links

is there a way to make the symbolic link to the FAT32 folder?

share|improve this question
    
What says df -k /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft and ls -ld /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft ? –  jlliagre May 15 '11 at 6:20
    
Don't sudo this. Just rm ~/.minecraft and then do the ln -s ... above –  Turbo J May 15 '11 at 7:49
add comment

2 Answers

up vote 0 down vote accepted

As long as your home directory is not on FAT32 or similar, you should be able to create a symbolic link to any file located on any file system and even to non existing files actually. There is no need to be root as long as you are allowed to create a file, which should obviously be the case with your home directory. I suspect ~/.minecraft already was a bogus link.

share|improve this answer
    
I think that was the problem. I deleted the ~/.minecraft and then tried Turbo J's suggestion above and it worked fine. –  Dennis Hodapp May 15 '11 at 15:47
add comment

I don't believe you will be able to create such a link.

share|improve this answer
    
Wrong! The link will be on the ext? Filesystem, where you can basically make a link to any target including non-existent ones. –  Turbo J May 15 '11 at 7:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.