<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.60">
<TITLE>[PATCH] Multiuser environment permissions</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I have found one difficulty with the autocache patch, not a showstopper, but annoying. The problem occurs when you have multiple users on the same machine. If one user creates the cache, several files inside will be owned by that user. The other user then cannot access /builddir/ due to permissions. The attached patch fixes this situation. Basically, it is very localized to the _make_our_user() function. It checks to see if the user already exists with a different UID from the current UID. If it detects this, it deletes and recreates the user and chown's the appropriate files.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Feedback appreciated. If this is ok, please apply with the autocache patches.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Other than this issue, we have been using the autocache patch here for a few days with no other issues.</FONT>

<BR><FONT SIZE=2 FACE="Arial">--</FONT>

<BR><FONT SIZE=2 FACE="Arial">Michael</FONT>
</P>

<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> &lt;&lt;mock-permfix.patch&gt;&gt; </FONT>
</P>

</BODY>
</HTML>