trouble accessing samba shares with spaces and/or parentheses

bartels bartels@mailme.ath.cx
Fri Dec 21 17:11:00 GMT 2012


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



More information about the Cygwin mailing list