This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble accessing samba shares with spaces and/or parentheses


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]