Results 1 to 6 of 6
hey im trying to install Americas army aka armyopp250 and when it gets to
Please enter installation path
/usr/local/games/armyops
i click install and it says
no write permissions to /usr/local/games
...
- 07-18-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 8
usr/local HELP!
hey im trying to install Americas army aka armyopp250 and when it gets to
Please enter installation path
/usr/local/games/armyops
i click install and it says
no write permissions to /usr/local/games
im on ununtu what do i do?
- 07-18-2010 #2
hello,
you have to give write permisions.
For example:
sudo chmod a+rw /usr/local/games
I hope this help you
Regards
- 07-18-2010 #3
Are you installing from a .deb package or from source.
If it's a .deb package it should ask you for your user password to install it. This gives you permissions need to add files owned by root.
If you are installing from source then after the make command you should use the following command;
sudo make install
The sudo command will also ask for your user password and then give temporary super user privileges that allows files to be added to that folder.
Changing permissions of a folder owned by root is not recommended as it can cause issues with the files in that folder not to mention it could open up a security hole.
- 07-18-2010 #4
With all due respect, i'm agree with you but I think that's what he says must be a script installer.
Moreover, /usr/local/ games folder is not a critic folder and change their permissions can be as dangerous as running a script with root permissions and chmod without -R is not recursive so it does not affect the files inside.
- 07-19-2010 #5Just Joined!
- Join Date
- Mar 2010
- Posts
- 8
- 07-19-2010 #6
As long as you change the permissions back now, you should be fine.
I agree that /usr/local/games isn't the most critical directory on the system, but it is owned by root, and it should stay that way. As long as a file is owned by root, while only granting common users reading permissions, nothing will bad can happen to the file, as long as people aren't stupid enough to do normal work as root.


Reply With Quote
