problems with the ln command

Fons van der Beek fons at so-o.nl
Mon Jul 5 18:12:10 UTC 2004


> On Mon, 2004-07-05 at 13:38, 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 ?????????????????????????
> >
> > With kind regards
> > Fons van der Beek
> >
>
> I believe that the quotation marks around the paths may be your
> problem.  Try the command string without the quotation marks.
>
> Dick
>

That's rather hard to do because other directories have spaces in the
directory name..
insteam of "Nelly" e.g. "beasty boys" then I need those quotation marks....






More information about the fedora-list mailing list