tags 82157 notabug
close 82157
stop

On 2026-10-31 15:49, Bored Videos wrote:
% ls -dl
drwxr-xr-x 0 s s 6 2026-10-31 17:45 .

That "0" is key: it means you're in an unnamed directory. If you had done it 
this way it would have been clearer:

  $ mkdir original
  $ cd original
  $ ls -ld .
  drwxrwxr-x 2 eggert eggert 2 Nov  1 09:12 .
  $ rmdir ../original
  $ ls -ld .
  drwxrwxr-x 0 eggert eggert 2 Nov  1 09:12 .

The rmdir decreased the link count from 2 to 0, so the unnamed directory no 
longer is pointed to either by its parent (or by itself!). This is entirely 
independent of symlinks.



Reply via email to