delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: error mounting smb shared with ~ in name |
Date: | Mon, 2 Apr 2012 15:59:45 +0200 |
Lines: | 32 |
Message-ID: | <jlcbch$r7n$1@dough.gmane.org> |
References: | <BAY156-ds13727AB95EF851A7E89C5E9D4E0 AT phx DOT gbl> <jl681h$1vr$1 AT dough DOT gmane DOT org> <loom DOT 20120401T091753-485 AT post DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | MicroPlanet-Gravity/3.0.4 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
* Daniel D (Sun, 1 Apr 2012 07:49:49 +0000 (UTC)) > > > Thorsten Kampe <thorsten <at> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |