X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <50D48C53.2080403@mailme.ath.cx> Date: Fri, 21 Dec 2012 17:20:35 +0100 From: bartels 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 Subject: trouble accessing samba shares with spaces and/or parentheses Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello Cygwin, I am experiencing problems with spaces and/or parentheses in samba share names. Changing the share name is not an option, because they are physical drives, connected to a mac. The following works fine from a dos box, and also from the gui with 'Map network drive', but fails miserably from the cygwin prompt. $ 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 This is not a question of privileges or configuration: other shares with vanilla names work fine. The mac logs do not immediately reveal any clues. Considering that the dos box and the gui have access, I am inclined to blame cygwin. Any ideas? Thanks - 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