Opened 2 days ago
Last modified 2 days ago
#19336 new bug
Symlink to Desktop shows up with name "home" regardless of name in filesystem
Reported by: | jckarter | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
On hrev58486:
- Open home folder
- Create a symlink to the Desktop folder.
The symlink shows up with the name "home", even though it refers to the Desktop folder. Trying to change the name of the symlink through Tracker, or from the Terminal, changes the name of the file in the filesystem, but its name still shows up as "home" in Tracker and the Deskbar.
Attachments (1)
Change History (4)
by , 2 days ago
Attachment: | wrong-symlink-name.png added |
---|
comment:1 by , 2 days ago
Check the files's attributes, it may have a "SYS_NAME" attribute or something like that which is overriding the file's name.
comment:2 by , 2 days ago
That was it, thanks waddlesplash! Is it expected that Tracker sets a SYS:NAME
on created symlinks? There might also be a bug that it picked up the parent folder's name rather than the target's name when naming the symlink.
comment:3 by , 2 days ago
I think the SYS:NAME on symlinks ought to be copied from the target folder, and if it isn't that's a bug. If the steps you describe cause this problem reliably then it sounds easy enough to investigate.
(The SYS:NAME attribute is how filenames get localized/translated, hence why it overrides the file's name.)
Screenshot showing that the symlink is named Desktop in the filesystem, as shown in Terminal, but shows as "home" in Tracker and the Deskbar menu