X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 21 Dec 2012 17:47:50 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: trouble accessing samba shares with spaces and/or parentheses Message-ID: <20121221164750.GE18188@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <50D48C53 DOT 2080403 AT mailme DOT ath DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50D48C53.2080403@mailme.ath.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Dec 21 17:20, bartels wrote: > 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 Please don't use DOS paths. Use POSIX paths like /cygdrive/q instead: http://cygwin.com/cygwin-ug-net/using.html#pathnames-win32 > 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? Works fine for me using a Linux Samba share with space in it. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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