Running Wine as a user

lawson_whitney at juno.com lawson_whitney at juno.com
Fri Mar 30 17:36:39 CST 2001


On 30 Mar 2001, Cliff McDiarmid wrote:

> > One other way you can reliably get that error is if root has made the
> > wine binary suid and owned by root.  Wine is not designed to be suid,
> > but maybe some misguided packager has set it up that way.
>
> That was the problem, the binary was owned by root.   Corrected this and wine worked first time from the user.     Why oh why is this not mentioned in the docs on setting up wine.   It mentions having a .winerc file for the user etc., but nothing about the above.
>
> thanks
>
> MAC

It is no harm for root (or any other user) to own wine.  If it has the
suid attribute it executes on behalf of the user who owns it, and will
fail for any other user.  Without the suid attribute, it executes with
the userid of the user who runs it.  This can be any user who has
execute permission.  It is not intended to be suid.

chmod u-s <wine binary>

Lawson

This message is brought to you by Wine-20010326, junopine-2.0.2,
Juno 2.0.11, and pine-4.10
---cut here


________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.




More information about the wine-users mailing list