delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/21/12:11:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Message-ID: <50D49836.6000101@mailme.ath.cx>
Date: Fri, 21 Dec 2012 18:11:18 +0100
From: bartels <bartels AT mailme DOT ath DOT cx>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121123 Icedove/10.0.11
MIME-Version: 1.0
To: Andrey Repin <cygwin AT cygwin DOT com>
CC: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: trouble accessing samba shares with spaces and/or parentheses
References: <50D48C53 DOT 2080403 AT mailme DOT ath DOT cx> <kb23r1$69p$1 AT ger DOT gmane DOT org>
In-Reply-To: <kb23r1$69p$1@ger.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

On 12/21/2012 05:47 PM, René Berber wrote:
> On 12/21/2012 10:20 AM, bartels wrote:
>
> [snip]
>> $ net use Q: "$(cygpath -w '//macau/X32 Backup-4(WD)')" "bartels"
>> /user:"bartels"
>> The command completed successfully.
>>
>> $ ls q:/
>> ls: cannot access q:/: Input/output error
>
> Have you tried the correct way? ls /cygdrive/q

Did actually. No difference.
The bugger is mounted, that is the strange part:


$ net use
New connections will be remembered.


Status       Local     Remote                    Network

-------------------------------------------------------------------------------
OK           Q:        \\macau\X32 Backup-4(WD)
                                                 Microsoft Windows Network

>
> or the alternative Network share way? ls "//macau/X32 Backup-4(WD)"

Just did that. Same difference:

$ ls "//macau/X32 Backup-4(WD)/"
ls: cannot access //macau/X32 Backup-4(WD)/: Input/output error


Is there a set of escape characters for spaces, parens and whatnot?

- bartels




--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019