How to change permission on /usr/

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Kladiator
Level 1
Level 1
Posts: 22
Joined: Fri Dec 22, 2006 10:46 am
Location: near Venice

How to change permission on /usr/

Postby Kladiator » Mon May 28, 2007 12:47 pm

Hi,
I installed Unreal Tournament 2004 on Bianca (it works flawlessly btw) but now I'm stuck.
I have downloaded a Bonus Pack and an essential patch from Beyond Unreal, and I need to install them on /usr/local/games/ut2004.
Needless to say, I don't have the permission to do anything on that folder and I don't know how tho change that.
I read carefully the posts on this message board and on the gaming section of the Ubuntu forum but probably there is something I don't understand.
Can anyone help? Thanks.

User avatar
scorp123
Level 8
Level 8
Posts: 2264
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby scorp123 » Mon May 28, 2007 3:56 pm

You're not supposed to touch anything in /usr manually ... Especially if you don't know what you do.

Did those patches come with an installer or something or with install instructions? Try placing a "sudo" before the needed command. So if the instructions say something like " ... Execute the command ./ut2004-patch-installer ... " then place a "sudo" in front of it, e.g. like this:

Code: Select all

sudo ./ut2004-patch-installer
--> this will execute the command as super-user "root".

Again: You're not supposed to mess around with the permissions in /usr ... Better to use "sudo" and then whatever the manual or "readme" file (of the patches and add-on packages) say you're supposed to execute.

Kladiator
Level 1
Level 1
Posts: 22
Joined: Fri Dec 22, 2006 10:46 am
Location: near Venice

Postby Kladiator » Mon May 28, 2007 4:26 pm

Thank you for the reply.
No, the instructions for the bonus pack and the patch simply said to unpack and install on the UT2004 folder, which of course is owned by root.
Probably there was a mistake in the installation of the game, but I simply followed the advice I found on a couple of threads on the Ubuntu forums.
Maybe I should uninstall the game and try again, but I don't know how to do it.
Deleting the UT2004 folder is not possible, and I don't even know if that is a stupid idea.

User avatar
scorp123
Level 8
Level 8
Posts: 2264
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby scorp123 » Mon May 28, 2007 7:48 pm

Kladiator wrote: Deleting the UT2004 folder is not possible, and I don't even know if that is a stupid idea.
Overkill. :shock:

If it says to unpack the files ... well, why don't you do it then? I suppose those files that you got are zip files? So unpacking will probably be something like this...

Code: Select all

sudo cp /path/to/zip/file/ut2004_megapack.zip /path/to/where/ut2004/was/installed
cd /path/to/where/ut2004/was/installed
sudo unzip ut2004_megapack.zip

Kladiator
Level 1
Level 1
Posts: 22
Joined: Fri Dec 22, 2006 10:46 am
Location: near Venice

Postby Kladiator » Tue May 29, 2007 1:57 am

I did what you suggested and everything is OK now.
If anyone is interested, the game runs better on Mint than on Windoze.
Thank you very much.


Return to “Newbie Questions”

Who is online

Users browsing this forum: Ramenedish, WharfRat and 15 guests