.wine is not owned by you problem with Darwin

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sai
Level 1
Level 1
Posts: 6
Joined: Mon Jun 09, 2008 10:20 pm

.wine is not owned by you problem with Darwin

Post by Sai »

I am completely new to wine. I remember reading somewhere that the problem(.wine is not owned by you) occurs when wine is run under sudo or root. I am not familiar with the unix part of Mac os, but I do know that sudo is a command and root is a type of user/access who has control over the entire computer like an administrator.Does that mean that I can't run wine from my administrator account on my mac? If so, how can I run wine without giving root access while I am using my admin account.
lordcoder
Newbie
Newbie
Posts: 3
Joined: Mon Jun 09, 2008 4:15 am

Post by lordcoder »

Simply don't run wine as root using sudo ;)
Sai
Level 1
Level 1
Posts: 6
Joined: Mon Jun 09, 2008 10:20 pm

Post by Sai »

I am not to familiar with the terminal. So I never use sudo to run anything, I just use the gui within Mac OSX. I just right click the appilication I wish to run, and select open with wine helper. Then wine helper gives me the error
wine: wine: /Users/User Name/.wine is not owned by you.

If wine is running through sudo via the gui, how do I fix that?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

.wine is not owned by you problem with Darwin

Post by austin987 »

On Tue, Jun 10, 2008 at 10:51 AM, Sai <[email protected]> wrote:
I am not to familiar with the terminal. So I never use sudo to run anything, I just use the gui within Mac OSX. I just right click the appilication I wish to run, and select open with wine helper. Then wine helper gives me the error
wine: wine: /Users/##########/.wine is not owned by you.





$ sudo rm -rf /Users/##########/.wine
$ wine notepad
Sai
Level 1
Level 1
Posts: 6
Joined: Mon Jun 09, 2008 10:20 pm

Post by Sai »

Terminal says -bash: wine: command not found when I type in "wine notepad"
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

.wine is not owned by you problem with Darwin

Post by austin987 »

On Wed, Jun 11, 2008 at 9:40 PM, Sai <[email protected]> wrote:
Terminal says -bash: wine: command not found when I type in "wine notepad"





Are you sure you've installed wine correctly then?
Paul Johnson

.wine is not owned by you problem with Darwin

Post by Paul Johnson »

On Mon, 2008-06-09 at 22:48 -0500, Sai wrote:
I am completely new to wine. I remember reading somewhere that the
problem(.wine is not owned by you) occurs when wine is run under sudo
or root.
If you started using Wine as a normal user, continue to do so (this
appears to be the case). NEVER RUN WINE AS ROOT. Please see
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
before continuing.
I am not familiar with the unix part of Mac os, but I do know that
sudo is a command and root is a type of user/access who has control
over the entire computer like an administrator.Does that mean that I
can't run wine from my administrator account on my mac? If so, how can
I run wine without giving root access while I am using my admin
account.
root=admin account; use a normal user that is not root.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Sai
Level 1
Level 1
Posts: 6
Joined: Mon Jun 09, 2008 10:20 pm

Post by Sai »

Thank you guys for all the info. I now have wine up and running, but is
there anyway to wine under my admin account without giviging wine full access to my computer? Cause it's annoying to have to switch accounts everytime I run wine.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sai wrote:Thank you guys for all the info. I now have wine up and running, but is
there anyway to wine under my admin account without giviging wine full access to my computer? Cause it's annoying to have to switch accounts everytime I run wine.
No. You should never use *NIX system as root EVER. ALWAYS login as regular user.

And no, root in *NIX always meant "root" not some half-ass administrator or broken windows. ROOT can do EVERYTHING, ALWAYS.
Paul Johnson

.wine is not owned by you problem with Darwin

Post by Paul Johnson »

On Thu, 2008-06-12 at 11:07 -0500, Sai wrote:
Thank you guys for all the info. I now have wine up and running, but is
there anyway to wine under my admin account without giviging wine full access to my computer?
No. You shouldn't be logging in as admin for everyday tasks anyway:
Not running things as root is by no means limited to wine. You
shouldn't ever log in as admin or root unless you actually have a need
to do so.
Cause it's annoying to have to switch accounts everytime I run wine.
Use sudo or whatever the GUI tool is for running things as another user
when you need to run something as root, not the other way around. Never
log in as root or admin.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Sai
Level 1
Level 1
Posts: 6
Joined: Mon Jun 09, 2008 10:20 pm

Post by Sai »

Okay, Okay I get it. Never run anything as root. I was playing around with a normal user account, and it seems I can basically do everything I want as a normal user. You see I was a windows user before, and on windows if you aren't admin you can't do jack. I never thought of anything but admin when it came to setting up accounts.
James McKenzie

.wine is not owned by you problem with Darwin

Post by James McKenzie »

Sai wrote:
Okay, Okay I get it. Never run anything as root. I was playing around with a normal user account, and it seems I can basically do everything I want as a normal user. You see I was a windows user before, and on windows if you aren't admin you can't do jack. I never thought of anything but admin when it came to setting up accounts.


Sai:

Where did you get Wine from? I run Darwine and it sets up the .wine in
my user directory with my user account, even if it is a system
administrator.

Paul:

Wine under MacOSX is a strange beasty. I don't use the older Darwine
releases available from darwine.sourceforge.net as they are based on
0.9.23. Unfortunately, the Power PC release was partially abandoned
because of the x86 emulator being abandoned (that has changed in the
recent past.)

All:

Darwine is the Wine for the Mac. Regular Wine has problems functioning
and does not incorporate all of the necessary tricks to get it to run
under MacOSX. Wine IS buildable on the Mac and installable as a regular
UNIX application. However, it does get tricky to remove.

Thank you.
James McKenzie
Paul Johnson

.wine is not owned by you problem with Darwin

Post by Paul Johnson »

On Thu, 2008-06-12 at 22:24 -0500, Sai wrote:
Okay, Okay I get it. Never run anything as root. I was playing around
with a normal user account, and it seems I can basically do everything
I want as a normal user. You see I was a windows user before, and on
windows if you aren't admin you can't do jack.
You can still run as a normal user in Windows for most things, just use
"Run as user..." for what really needs Administrator. The same advice
applied to Windows tends to save a lot of headaches, especially if you
question why exactly something needs Administrator privileges before
blindly assigning them.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Locked