Strange symbolic link behaviour?



Hi,

I'm running FC14 and running into a strange situation with symbolic
links that I have never seen or noticed before.


If I create the following symbolic link:
[eric@eric-laptop ~]$ pwd
/home/eric
[eric@eric-laptop ~]$ ls Mail
draft inbox queue sent trash
[eric@eric-laptop ~]$ ln -s Mail/inbox test
[eric@eric-laptop ~]$ ls test
1 2 3 4 5
[eric@eric-laptop ~]$ cd test
[eric@eric-laptop test]$ pwd
/home/eric/test
[eric@eric-laptop test]$ ls
1 2 3 4 5
[eric@eric-laptop test]$ ls ..
draft inbox queue sent trash


The strange behaviour here is when listing the parent directory (..).
In this case, ls .. is listing the contents of Mail/ directory - not
/home/eric.

In the past, I always recall being able to use the parent identified
(..) to move up one level in the directory structure whether in a
symlink or not. In this case, I would have expected ls .. to list the
contents of /home/eric - not /home/eric/Mail.

Am I wrong? Am I seeing strange behaviour here? If so, is there a way
to enable the behaviour I expect?

Thanks!

Eric

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • RES: Strange behaviour in Win2k
    ... Assunto: Strange behaviour in Win2k ... When I was viewing emails using Outlook 2002 on a Win2k pro ...
    (Vuln-Dev)
  • Re: httpd conf on RH 3
    ... On Fri, 5 Nov 2004, Edward Iglesias wrote: ... > tried the symbolic link I received the same error. ... It is very strange. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Strange behaviour in Windows 98
    ... > On Window98, I have some strange 2-5 seconds period, where my app seems ... > to be extremly slow. ... > The app having this strange behaviour is here: ...
    (alt.lang.asm)
  • Re: Starting Gnome problem
    ... - snip - ... >> It is very strange. ... >> Shall I remove the symbolic link ... # ldconfig -r | grep ORBit ...
    (freebsd-questions)
  • Strange behaviour in Windows 98
    ... On Window98, I have some strange 2-5 seconds period, where my app seems ... second time. ... The app having this strange behaviour is here: ...
    (alt.lang.asm)