Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do I always need to be ROOT in order to install games?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Wed Aug 27, 2003 9:09 pm    Post subject: Do I always need to be ROOT in order to install games? Reply with quote

Hi there, I was just wondering. Do I always need to become root first, in order to install games, specifically commercial games, i,e, quake3, unreal tournament, etc...

The reason why I am asking is because I'm using the Loki_updater to update my games, but if I run it as a user, then it comes up and says that it couldnt find games that it could update.
If I exit my desktop, log off and back on as root and start a root X session then I can run Loki Update properly and it shows me all of my installed Loki Games.
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Aug 27, 2003 10:00 pm    Post subject: Reply with quote

In short, no. In a longer answer, no but for the loki updater issue specifically you must run it as whomever was the user that installed the game. Meaning if you were root when you installed it you must be root to patch it, likewise if you were user_bob when you installed the game then you must be user_bob to patch it using the loki updater. Reason being (so far as I understand) is basically that the games are installed into different directories/paths depending on who the user was that installed it, then loki updater only checks in the specific location for the current user.

If you have more than one user account on your machine and you want them to be able to play the games as well it makes the most sense to install them as root, since you won't have to do any additional work or installs to allow additional users to play the game. If you are the only user on your system it would probably be 'safe' to install the games as your user account, keep in mind each case differs slightly and there (as always) are good and bad points to either situation.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Fri Aug 29, 2003 4:15 pm    Post subject: Reply with quote

Ahh, ok.
I was just wondering, because for most of my games the default installation path is /usr/local/games/ and only root can write to that directory. Is it safe to change the permissions for the games directory or should I have the install path point to somewhere on my home directory?

By the way, how come Linux knows where a game or program is installed?
I mean, no matter where I am on my harddrive, I just have to type quake3 (for example) and the games starts. Does Linux have something like a system register which logs each installation or what?
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Fri Aug 29, 2003 7:37 pm    Post subject: Reply with quote

For your first question, its not really safe to change the permissions to let all users write anywhere in /usr. Install it as root, or install it in your home directory as your regular user.

Question two, when you type in the game name it looks for it in every directory in your PATH variable:

Code:
echo $PATH


To see where quake3 is:

Code:
which quake3
Back to top
View user's profile Send private message
bakgwailo
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2002
Posts: 113

PostPosted: Fri Aug 29, 2003 8:51 pm    Post subject: Reply with quote

if you install it in your home directory, just sym link it to say /usr/games/bin or somewhere in your path so you can still type in quake3 and run it from anywhere on your disk. That way you can update it with out root and still play.
_________________
aiya, tau tong ah!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum