[Bug 34730] Wine can no longer execute unix programs

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 17 04:19:10 CST 2014


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

oiaohm <oiaohm at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oiaohm at gmail.com

--- Comment #6 from oiaohm <oiaohm at gmail.com> ---
If it was me I would close this bug.

**Why only full path? Why? Everything that is valid linux command should be
executed from wine shell.**

In fact its not that simple.   Linux commands use unicode most of the time or
what is define by Linux Locale that might not be Windows application
compadible.

Windows commands don't all the time.   So always auto running Linux command can
in fact bring issues.   ping in wine could be required to be different to ping
in Linux.

Also wine cmd ie wine shell is not a posix shell.   So does not set up
envorment as per posix standards.  Lot of Linux native applications do expect a
posix shell.

/bin/sh -c {something} is to run a posix shell to setup a posix envorment.  Yes
not all Linux applications work with full path either from wine due to no posix
envorment.


**Since I can run .exe file from linux command prompt (wine starts
automatically), why I can't run any linux command from windows command
prompt?**

This is binfmt_misc configuration of your distrobution.   We don't recommend
this been set in the first place.   Since binfmt_misc can make it simple to run
application as root in the first place.  Yes it bad to be running wine
applications as root.

Far Manager for example running inside wine cannot see Linux permission
correctly.  There are other defects as well.  The simple issue here  N.L. you
are doing something bad to start off with.   I don't see that we should be
making it simple for you todo this.

Really you should be using something native to Linux like Midnight Commander. 
N.L.


Quentin Pâris I have some big bad news on what you are talking about as well. 
Java applications using jini(platform native code) will explode if you pass
Linux java at them.   Some Java application will also explode if they get
anything other than Windows paths.

Yes automatically running Linux mono or linux java is a very big reason to kill
off being able to run Linux applications directly from wine without having todo
something special.

Sorry most of the arguements to allow this come from people attempting or doing
things that are not recommended.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list