Chrome Shares with spaces in share name

How it works in WTware without terminal server
Post Reply
fox-007
Posts: 6
Joined: Mon Oct 14, 2019 2:21 pm

Chrome Shares with spaces in share name

Post by fox-007 »

Hello Aka,
I wanted to redirect the download directory to the respective user directory on a Windows file server.
Basically, it works very well.
However, our shares have spaces in the share names.
The method with the quotation marks or with \040 .... does not work.
Do you have a solution for this?
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Chrome Shares with spaces in share name

Post by aka »

fox-007
Posts: 6
Joined: Mon Oct 14, 2019 2:21 pm

Re: Chrome Shares with spaces in share name

Post by fox-007 »

Thanks Aka,
but unfortunately I couldn't mount the share with this version either.
Here is my entry in the configuration file for the desired share.
chrome_share=\\192.168.168.107\home$\xxxxxxx\Eigene Dateien\Downloads, user xxxxxx@xxxxxx, password xxxxxxx
That does not work.
Here are the messages from the log:
[ rdpdr-scard] [ 13.136828] RDP Smart Card Redirector, WTware 6.0.9/RPi.
[ gm] [ 13.162775] [FILE CACHE] Take 'packages/pi2-scl' from cache.
[ gm] [ 13.162890] modprobe cifs.
[ gm] [ 13.180036] +--- Executing "/sbin/mount.cifs //192.168.168.107/home$\xxxxxx\Eigene\ Dateie /home/chromium/Downloads -o iocharset=utf8,vers=2.1,uid=1007,gid=1007,username=xxxxxxx@xxxxxx,password=xxxxxx
[ KERNEL] [ 13.180681] Key type cifs.idmap registered
[ KERNEL] [ 13.195699] CIFS: Attempting to mount //192.168.168.107/home$\xxxxxx\Eigene Dateie
[ gm] [ 13.209027] +- Errorlevel: 32, output:
[ KERNEL] [ 13.209968] CIFS VFS: cifs_mount failed w/return code = -2
| mount error(2): No such file or directory
| Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[ gm] [ 13.209275] +------------------------

If I rename the folder and the entry in the configuration file from "Eigene Dateien" to "EigeneDateien" it works wonderfully.
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Chrome Shares with spaces in share name

Post by aka »

fox-007 wrote: Tue Aug 04, 2020 2:29 pm Here is my entry in the configuration file for the desired share.
chrome_share=\\192.168.168.107\home$\xxxxxxx\Eigene Dateien\Downloads, user xxxxxx@xxxxxx, password xxxxxxx
...
If I rename the folder and the entry in the configuration file from "Eigene Dateien" to "EigeneDateien" it works wonderfully.
It mounts \EigeneDateien, but you ask for \EigeneDateien\Downloads

Please try this:
http://wtware.com/testing/202008221736.zip
fox-007
Posts: 6
Joined: Mon Oct 14, 2019 2:21 pm

Re: Chrome Shares with spaces in share name

Post by fox-007 »

Good work.
Paths with spaces such as "...\Eigene Dateien\Downloads" now also work.
Many thanks.
Post Reply