Opened 8 years ago

Last modified 10 months ago

#13409 new bug

Ghost file on Desktop

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/libtracker.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev51059.

The strangest thing:
I created a symlink on the Desktop to /Generator/generated/objects/haiku/x86_gcc2/release/apps/softwareupdater/SoftwareUpdater. Now whenever I "jam -q SoftwareUpdater", a ghost file "SoftwareUpdater" appears on my desktop along the symlink!

Tracker identifies the ghost as the actual binary, located at the above path. In Terminal a "ls -la" of the Desktop shows only the symlink.

checkfs didn't show any issues.
Restarting Tracker exorcises the ghost file. What's going on?

I had a similar thing happen after moving a wonderbrush image from the Desktop to a folder on another partition, then creating a symlink from there back to the Desktop. I then created some source files and a makefile in that folder, and a "make" there resulted in ghost files of all those source files, plus the created "objects.x86-cc2-debug" folder.

Putting it under libtracker.so, might as well be a bfs bug? I dunno...

Change History (3)

comment:1 by axeld, 8 years ago

Never seen that myself, but yes, it could be a bug in either one.

comment:2 by Giova84, 8 years ago

I've seen this behaviour since long time. Maybe is related to this one? ticket:11310

comment:3 by bipolar, 10 months ago

FWIW, I see this more or less regularly on beta4.

In my case, it involves:

  • Having a symlink in Destop to ~/src/some_git_repo/file.txt
  • Having a Tracker window open for ~/src/some_git_repo/
  • Running git pull on ~/src/some_git_repo/.

If git pull updates files... I end up with those appearing as "ghost files" in Desktop.

Rest of the symptoms match:

  • Ghost files are only present in Tracker (ls ~/Desktop doesn't shows them).
  • Ghost files disappear on Tracker restart.
Note: See TracTickets for help on using tickets.