Bug 127526

Summary: "$" in share names makes them invisible in Nautilus
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Matthias Nissen <matthias.nissen>
Component: GNOMEAssignee: Federico Mena Quintero <federico>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: All   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot

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.