#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 |
Description
- Open Terminal
- cd ~/Desktop
- mkdir FooBar
- cd FooBar
- Using Tracker delete the folder FooBar and create it again
- Using Tracker create any file or folder in FooBar
- Switch into Terminal
- ls
Result: "total 0" i.e. Terminal does not see the contents of recreated FooBar
Then:
- cd ..
- cd FooBar
- ls
gives correct results again.
Note:
See TracTickets
for help on using tickets.
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.