From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5363 invoked by alias); 2 Apr 2012 14:00:29 -0000 Received: (qmail 5351 invoked by uid 22791); 2 Apr 2012 14:00:27 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Apr 2012 14:00:07 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SEhnf-0001dJ-98 for cygwin@cygwin.com; Mon, 02 Apr 2012 16:00:03 +0200 Received: from cl-aquamarine02.provider.pl ([194.187.145.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2012 16:00:03 +0200 Received: from thorsten by cl-aquamarine02.provider.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Apr 2012 16:00:03 +0200 To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: error mounting smb shared with ~ in name Date: Mon, 02 Apr 2012 14:00:00 -0000 Message-ID: References: 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 Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-04/txt/msg00037.txt.bz2 * Daniel D (Sun, 1 Apr 2012 07:49:49 +0000 (UTC)) > > > Thorsten Kampe thorstenkampe.de> writes: > > > * 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 ~. > > Thank you for the quick reply, however I still could not make it work: > mount //server/\176foo /mnt/foo > prints out no error, as if everything works out, however > ls /mnt/foo I said "escape or quote": mount //server/\~foo /mnt/foo mount "//server/~foo" /mnt/foo 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