<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
First my apologies because I don't know if this is the right place to
make this request. I want to request if you could evaluate the
possibility of removing the below patch from wine. Like we all know,
windows softwares come with a lot of license restrictions that would
prevent you from having the software installed under several
places/folders at the same time. Despite this, some times it is
convenient to have only one copy of the software installed and at the
same time have the possibility of running it for several users.<br>
<br>
Ok, to the point. The patch mentioned below prohibits wine from running
any application which is inside someone else's folder, even if you have
access to it. In my case, I wanted to make one unique installation
available to several users. Because of this patch, there is no
workaround that could be implemented, forcing me to either run a script
changing the owner of the folders for every user as they want to use
the application or I have to make several copies of the software which
will put me in a difficult legal situation.<br>
<br>
If you are not the right person, I'll appreciate if you could forward
this email to someone who could evaluate my request.<br>
<br>
Thanks.<br>
<br>
Regards,<br>
<br>
<br>
Federico<br>
<br>
<br>
<pre>Module: wine
Branch: master
Commit: 65d865d96313d96889bf8cbe88c931b5e1e9bb74
URL:    <a set="yes" linkindex="6"
 href="http://source.winehq.org/git/wine.git/?a=commit;h=65d865d96313d96889bf8cbe88c931b5e1e9bb74">http://source.winehq.org/git/wine.git/?a=commit;h=65d865d96313d96889bf8cbe88c931b5e1e9bb74</a>

Author: Alexandre Julliard &lt;<a linkindex="7"
 href="http://www.winehq.org/mailman/listinfo/wine-cvs">julliard at winehq.org</a>&gt;
Date:   Thu Nov  8 12:21:10 2007 +0100

libwine: Refuse to use a WINEPREFIX dir owned by a different user.

---

 libs/wine/config.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libs/wine/config.c b/libs/wine/config.c
index 5f8f31c..860cae2 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -230,6 +230,7 @@ static void init_paths(void)
         }
     }
     if (!S_ISDIR(st.st_mode)) fatal_error( "%s is not a directory\n", config_dir );
+    if (st.st_uid != getuid()) fatal_error( "%s is not owned by you\n", config_dir );
 
     init_server_dir( st.st_dev, st.st_ino );
 }</pre>
<br>
</body>
</html>