Bug 127526 - "$" in share names makes them invisible in Nautilus
Summary: "$" in share names makes them invisible in Nautilus
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Final
Hardware: x86 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Federico Mena Quintero
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 11:16 UTC by Matthias Nissen
Modified: 2006-02-06 23:58 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot (542.57 KB, image/png)
2005-10-11 11:21 UTC, Matthias Nissen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Nissen 2005-10-11 11:16:38 UTC
If I connect to a smb-server with 3 shared folders, two of them are not visible
in nautilus:
The shares are named C$, D$ and Matthias. I can only see the last one in
nautilus, though I can connect to all of them with konqueror.
Comment 1 Matthias Nissen 2005-10-11 11:21:56 UTC
Created attachment 53617 [details]
Screenshot
Comment 2 Federico Mena Quintero 2006-01-24 20:36:29 UTC
Retitling for clarity.  I haven't actually tested that the "$" in the share names are causing the problem, but they do sound suspicious.
Comment 3 Federico Mena Quintero 2006-01-26 23:29:26 UTC
Indeed, gnome-vfs/modules/smb-method.c skips over shares whose names end with "$":

static gboolean
is_hidden_entry (char *name)
{
	if (name == NULL) return TRUE;

	if (*(name + strlen (name) -1) == '$') return TRUE;

	return FALSE;

}

(Gaah, and there's a bug if the share name happens to be empty...)

Aren't shares special if their names end with "$"?  Is one supposed to be able to see them?  I'll ask Jeremy about this.
Comment 4 Federico Mena Quintero 2006-01-27 19:12:51 UTC
Mailing list discussion here:
https://forge.provo.novell.com/mailman/private/desktop-directory-enablement/2006-January/000131.html
Comment 5 Federico Mena Quintero 2006-02-06 23:58:45 UTC
Fixed in autobuild.  This will be in gnome-vfs2-2.12.2-18 or later.