Overriding the check for ownership of a prefix

Scott Ritchie scott at open-vote.org
Thu Sep 20 12:14:55 CDT 2012

On 9/20/12 3:07 AM, Francois Gouget wrote:
> On Wed, 19 Sep 2012, Scott Ritchie wrote:
> [...]
>> There is one major snag, however: unionfs displays the owner as root until the
>> user has modified/copied it.  This means Wine refuses to launch as the user
>> with the "root-owned" prefix.
> Wine checks the ownership of the $WINEPREFIX directory right? So
> wouldn't touching a file in $WINEPREFIX before starting Wine work?
> system.reg would be a good candidate. Alternatively, create/delete some
> other file.

Yes, unfortunately unionfs displays a sort of mixed permission 
structure: files are owned by the user once they are modified, but the 
hosting directory name itself can't be modified in this way, which is 
exactly what Wine checks.

More information about the wine-devel mailing list