Re: problems with the ln command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Fons van der Beek wrote:
Hello all,

I am having a bit of a problem with the ln command.
If i give the command


    ln -s "/data/mp3/Nelly" "/datastore/alfabet/N/Nelly"

Then I expect only in the directory "/datastore/alfabet/N/"
a symboly link named "Nelly" being created.
BUT also (!) in "/data/mp3/Nelly" a symbolic link "Nelly" is created and it is referenced to /data/mp3/Nelly
(there was already a directory calles "DaDerrty.......blablabla)


drwxrwxrwx    3 apache apache  4096 Jul  5 15:12 .
drwxrwxrwx  403 apache apache 12288 Jul  4 09:58 ..
drwxrwxrwx    2 apache apache  4096 May  5 11:29 DaDerrtyVersionsTheReinven
lrwxrwxrwx    1 root   root      15 Jul  5 15:12 Nelly -> /data/mp3/Nelly

What am i doing wrong ?????????????????????????

The ln command looks fine. Are you sure you didn't accidentally create the link Nelly -> /data/mp3/Nelly when you were trying to create the link previously?


Remove the bogus link and the correct link. Then try:

ln -s "/data/mp3/Nelly" "/datastore/alfabet/N/Nelly"

again. Should not get the bogus link.



With kind regards Fons van der Beek






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux