[Bug 7763] New: Loader does not set working directory to the directory program is installed in when app is executed with BINFMT_MISC

Wine Bugs wine-bugs at winehq.org
Fri Mar 16 10:57:28 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7763

           Summary: Loader does not set working directory to the directory
                    program is installed in when app is executed with
                    BINFMT_MISC
           Product: Wine
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: wine-loader
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: Speeddymon at gmail.com


Easy to reproduce if you have a registration code for WinRAR..

Download an eval copy of WinRAR and install it.

Insert your registration code in WinRAR to make it registered.

Make sure BINFMT_MISC is setup properly so you can run WinRAR by running
./WinRAR.exe

Make a symlink to ~/.wine/drive_c/Program\ Files\WinRAR\WinRAR.exe under your
/usr/bin

CD to the WinRAR directory and type the name of your symlink to WinRAR.exe on
the command line.  It will open and be registered.

Exit WinRAR

CD to any other directory (~ is where I went to test)

On the command line type the name of your symlink to WinRAR.exe

It will come up and show evlauation copy even though the key has been inserted!

To get around this for now I just made a shell script in /usr/bin instead of a
symlink, that does CD and then runs winrar.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list