[Wine] Cannot get UNC paths to work correctly

Dan Kegel dank at kegel.com
Thu Apr 10 09:53:34 CDT 2008


On Thu, Apr 10, 2008 at 3:53 AM, Tom Evans <tevans.uk at googlemail.com> wrote:
>  I wish to run 'Enterprise Architect' from Sparx Systems[1]. The
>  installer runs just fine, and the application installs OK. The main
>  issue is that the license key file is a shared resource - many users can
>  utilise the same license file (legitimately I might add!) at the same
>  time, so the license file is located on a SMB share. The key file itself
>  has encoded into itself what the location of the key file should be, and
>  this is encoded as a UNC path:
>   //razor/it/Enterprise Architect/sskeys.data

Ouch!  I guess you really do need UNC support then.

>  I have //razor/it mounted on /mnt/samba/razor/it . I have created the
>  appropriate structure under ~/.wine/dosdevices , as specified by 3.2.3
>  of the wine user guide:
>
>  > $ tree ~/.wine/dosdevices/
>  /home/tom/.wine/dosdevices/
>  |-- c: -> ../drive_c
>  |-- unc
>  |   `-- razor
>  |       `-- it -> /mnt/samba/razor/it
>  `-- z: -> /
>
>
>  When I attempt to change directory in a 'standard' file selection box by
>  typing in '//razor/it/' (in either Enterprise Architect or Lotus Notes),
>  I am told 'Path does not exist'. Explicitly specifying the file name
>  (IE, no browsing involved) also does not work.
>
>  The share is mounted with the uid of the user running wine, and I can
>  create/modify/delete files from the shell just fine.

I just verified your results and wrote up my test here:
http://bugs.winehq.org/show_bug.cgi?id=425
Wine does indeed support UNC paths like that internally,
but for some reason they aren't exposed well in things
like cmd and common dialogs.  That seems like an important
thing to get working.  Might be a bit late for 1.0, but we'll see.
- Dan



More information about the wine-users mailing list