Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8868 closed bug (invalid)

[Terminal] Contents of recreated folder not shown.

Reported by: x-ist Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/alpha3
Keywords: Cc:
Blocked By: Blocking:
Platform: x86


  1. Open Terminal
  2. cd ~/Desktop
  3. mkdir FooBar
  4. cd FooBar
  5. Using Tracker delete the folder FooBar and create it again
  6. Using Tracker create any file or folder in FooBar
  7. Switch into Terminal
  8. ls

Result: "total 0" i.e. Terminal does not see the contents of recreated FooBar


  1. cd ..
  2. cd FooBar
  3. ls

gives correct results again.

Change History (2)

comment:1 by anevilyak, 9 years ago

Resolution: invalid
Status: newclosed

That's normal bash behavior ; the new directory and the old one aren't the same inode and consequently the descriptor bash is holding open on the cwd won't see the new dir's contents until it's forced to close and reopen it via the cd operation.

comment:2 by x-ist, 9 years ago

Indeed it's the same behavor on linux, sorry for the noise.

Note: See TracTickets for help on using tickets.