X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0	tests=BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: error mounting smb shared with ~ in name
Date: Sat, 31 Mar 2012 08:25:52 +0200
Lines: 17
Message-ID: <jl681h$1vr$1@dough.gmane.org>
References: <BAY156-ds13727AB95EF851A7E89C5E9D4E0@phx.gbl>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Daniel D (Fri, 30 Mar 2012 21:52:35 -0700)
> 
> Is ~ allowed on a smb share name when mounting it? I keep getting errors 
> while trying to mount //server/~foo via fstab.
> 
> If yes, can someone give me some tips for what to do to mount a share named 
> \\server\~foo ?
> [...]
> It looks like mount command does not like ~ in the smb share name, 
though it 
> is fine with ~ in the the mount point name.

That's a shell issue not a mount issue. ~foo refers to the home 
directory of user foo. Either escape the ~ or quote the argument 
containing the ~.

Thorsten


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

