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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Message-ID: <50D4A64D.5040301@mailme.ath.cx>
Date: Fri, 21 Dec 2012 19:11:25 +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: cygwin AT cygwin DOT com
Subject: Re: trouble accessing samba shares with spaces and/or parentheses
References: <50D48C53 DOT 2080403 AT mailme DOT ath DOT cx> <20121221164750 DOT GE18188 AT calimero DOT vinschen DOT de> <50D495D5 DOT 2030104 AT mailme DOT ath DOT cx> <20121221171916 DOT GH18188 AT calimero DOT vinschen DOT de>
In-Reply-To: <20121221171916.GH18188@calimero.vinschen.de>
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 06:19 PM, Corinna Vinschen wrote:
> On Dec 21 18:01, bartels wrote:
>> On 12/21/2012 05:47 PM, Corinna Vinschen wrote:
>>> On Dec 21 17:20, bartels wrote:
>>>> $ 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
>>> Please don't use DOS paths.  Use POSIX paths like /cygdrive/q instead:
>>> http://cygwin.com/cygwin-ug-net/using.html#pathnames-win32
>> Naturally, I tried all flavours:
>>
>> $ ls /cygdrive/q/
>> ls: cannot access /cygdrive/q/: Input/output error
>>
>>
>>
>>> Works fine for me using a Linux Samba share with space in it.
>> Okay, that leaves the parentheses as the likely troublemaker.
>> The thing is, people bring in disks, and I have no control over their volume / share names.
>>
>> Any more ideas? Where's Santa when you need him ;-)
> "Input/output error" is just an EIO.  strace might show more useful
> information.  EIO could be generated for a couple of reasons, for
> instance, the WIn32 errors ERROR_DISK_CORRUPT or ERROR_OPEN_FAILED are
> translated to the POSIX EIO.  Another chance to get EIO is if something
> goes badly wrong trying to read a symlink.  Or, that's always a chance,
> the OSX smb server doesn't support some system call used by Cygwin.  It
> wouldn't be the first such FS.

You must be Santa!

I did not believe it, but I tried the same share names on a linux server: that works fine.

Indeed it looks like a cygwin/mac problem.
That still leaves me with a lot of unhappy users.

So where can I find strace?

- 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