Mail Archives: cygwin/2012/04/01/13:00:49
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=1.8 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,KHOP_THREADED,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD
|
X-Spam-Check-By: | sourceware.org
|
To: | cygwin AT cygwin DOT com
|
From: | Daniel D <ruby_user AT hotmail DOT com>
|
Subject: | Re: error mounting smb shared with =?utf-8?b?fg==?= in name
|
Date: | Sun, 1 Apr 2012 07:49:49 +0000 (UTC)
|
Lines: | 51
|
Message-ID: | <loom.20120401T091753-485@post.gmane.org>
|
References: | <BAY156-ds13727AB95EF851A7E89C5E9D4E0 AT phx DOT gbl> <jl681h$1vr$1 AT dough DOT gmane DOT org>
|
Mime-Version: | 1.0
|
User-Agent: | Loom/3.14 (http://gmane.org/)
|
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
|
> 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 ~.
Hi Thorsten,
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
errors out with 'no such file or directory'.
From my experiments, the mount is not performed successfully in spite of
no errors printed out. The mount commands succeeds only because
//server/\176foo path is interpreted as //server/176foo; and since it is not
checked for existence, doing the subsequent ls /mnt/foo prints out
the error.
Moreover, in the same shell (bash/mintty), this works:
ls //server/~foo
(returns the right set of files), so if this is truly a shell issue,
why does ls work?
As a side note, ls //server/\176foo does not work (prints out 'No such file
or directory').
If you (or anyone else) have any other ideas, I would appreciate it.
Lastly, has anyone tried this and got it to work on their machine using the
current cygwin version? If yes, can you please post your exact
fstab entry (or mount command)?
BTW, the mount version I'm using is 1.7.11 (I updated cygwin couple of days
ago).
TIA,
Daniel
--
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
- Raw text -