[Wine] Caution when deleting .wine ...

James McKenzie jjmckenzie51 at gmail.com
Mon May 2 21:43:00 CDT 2011


On 5/2/11 2:35 PM, topher.becca wrote:
> jjmckenzie wrote:
>> On Mon, May 2, 2011 at 1:16 AM, topher.becca<wineforum-user at winehq.org>  wrote:
>>
>>> When I entered 'rm -rf ~/.wine' it says:
>>> rm: /Users/christopherwelch/.wine/drive_c/Program Files/Inbox Toolbar: Permission denied
>>> rm: /Users/christopherwelch/.wine/drive_c/Program Files: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c/windows/profiles/All Users/Start Menu/Programs/Inbox Toolbar: Permission denied
>>> rm: /Users/christopherwelch/.wine/drive_c/windows/profiles/All Users/Start Menu/Programs: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c/windows/profiles/All Users/Start Menu: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c/windows/profiles/All Users: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c/windows/profiles: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c/windows: Directory not empty
>>> rm: /Users/christopherwelch/.wine/drive_c: Directory not empty
>>> rm: /Users/christopherwelch/.wine: Directory not empty
>>>
>>> What does this mean?
>>>
>> This means that your user does not 'own' the files.  Did you by chance
>> run Wine as root or through sudo?  The Wine FAQ has instructions on
>> how to fix file permissions.  It appears that you are using a Mac, and
>> I highly recommend switching $HOME and then running sudo rm -rf .wine.
>> NEVER RUN WINE AS SUDO unless recommended and then you will have to
>> fix file permissions before running Wine again as your user.
>>
>> Location of file permissions fix:
>>
>> http://wiki.winehq.org/FAQ#head-8b89c928ce782c014b8b312469223296093e1484
>>
>> James McKenzie
>
> Actually, I'm the owner of the whole computer, so I should own all the files.
No, you don't and you should not.  I know of at least three directories 
on a Mac that this is not true.  However, if you put the file in your 
home directory you should own the file.
>   Also, what is SUDO? I'm not sure as to what that is exactly.
Open terminal and type in man sudo.  More information than you really need.

The point is:  How did you install Wine?

> I am using a Mac, but could you walk me through? Whenever I remove Wine, and then reinstall it, I can go to the File Manager, click Shell, and go to the trash that has the icon of a trash can, and it still shows everything I have deleted, and I want to remove that.
This function may or may not work in Wine.  I will have to look at this 
and given my current time schedule it will be this weekend at the 
earliest.  However, there are other Wine on Mac folks that may be able 
to provide guidance on how to get those files out of the Trash in File 
Manager.  This is NOT the Trash for the Mac area.

James McKenzie




More information about the wine-users mailing list