ntdll: add a warning about running wine as root (resend)

Vitaliy Margolen wine-devel at kievinfo.com
Mon Feb 9 20:02:07 CST 2009


Austin English wrote:
> On Mon, Feb 9, 2009 at 9:58 AM, James Mckenzie
> <jjmckenzie51 at earthlink.net> wrote:
>> Aurimas Fišeras <aurimas at gmail.com> wrote:
>>> Sent: Feb 9, 2009 7:45 AM
>>> To: James Mckenzie <jjmckenzie51 at earthlink.net>
>>> Cc: wine-devel at winehq.org
>>> Subject: Re: ntdll: add a warning about running wine as root (resend)
>>>
>>> James Mckenzie wrote:
>>>> Alexandre Julliard <julliard at winehq.org> wrote:
>>>> [...]
>>>> New wine installation:
>>>>
>>>> su (no dash so root's environment is not picked up)
>>>> wine notepad
>>>> install various programs and use them.
>>>> exit
>>>>
>>>> User logs in a second time after learning how to properly use Wine.
>>>> Attempt to do anything with Wine in user space.  Cannot do due to permissions problems.
>>>>
>>>> The solution:
>>>>
>>>> sudo rm -rf .wine
>>> No, the solution is
>>> sudo chown -R user:user .wine
>> Correct.  However, this is not being given as the solution.
>>
>> Also, if the user is on an alternate wine prefix this would change to:
>>
>> sudo chown -R <username>:users $WINEPREFIX
>>
>> Is this in the FAQ somewhere?
>>
>> James McKenzie
>>
>>
> It is now (before, just said sudo rm -rf ~/.wine).
> 

You forgetting all the files created under ~/Desktop, ~/.config and
~/.local. Those will be a bigger pita and source for lots of issues.

Vitaliy.



More information about the wine-devel mailing list