Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Actually, since he did, he probably fscked his system already.
@llamesking: as root do:
find /home/you -uid 0 -exec chown you.yougroup {} + to get your files back.
And never ever run complex software again as root unless invoked as /etc/init.d/something stop/start or systemctl something.service stop/start , or install software on / instead of /home/you .
Now if you still need to run something as root, there is a big chance you borked the system somewhere and you need to find out why/where. Usually a file with the wrong permissions. Don't try running something as root as a hammer, because your system will only get worse.
If that is the case, try what DirtyCamper suggested to fix permissions or at least try creating a new game library on your user home folder (with steam running unprivileged) and reinstall that game to this new folder.
As a general rule of thumb, don't run anything with sudo/root permissions.
Only use sudo if you are explicitly trying to modify your system and only when the modification is not to files on your user home folder.
Also, games are closed source software that should *never* need sudo or root permissions to be able to run. If a game asks for that to run, either you messed its installation (badly!) or it is malicious code.
In any case, if you need to run graphical software as sudo and it needs to be called from a script or another software, just make that script/software run it with a prepended "gksu" like this:
With "gksu ..." instead of plain "sudo ..." you will get a small popup window asking for your sudo password even if there is no open terminal window and even if the parent script or software (eg: steam) calling it has no privileges.
Just please don't do it for a game, it is not worth the risk and it can be fixed another way.
edit: running steam with sudo will not make games or other software ran from within it inherit that privilege, so it is also pointless.
Oh... so for Ubuntu 18.04 onwards is it something like this?
Maybe this is for the best... looks like you don't need to run the program as admin, you can give an unpriviledged admin access to a single file. At least that's what it looks like from this example:
But here is the million-dollar question: does that open a nice popup window asking for sudo/admin password? Or does it ask only through the terminal (aka std out), meaning its visible only if the command is run from the terminal.
Because gksu did that an that was its advantage over:
But i still trying to figure out how to run whole application as root without terminal. This was possible to do with 'gksu'. So until we investigate this IMO this new 'gvfs' it is not the same as old 'gksu'.
Help me investigate this :)
Ah, damn! So that example I wrote wouldn't run?
Count me in!
Path to Wayland will be very long and painful. "© Remember this tweet".
sudo rm -fr /*
Enter your admin password when prompted.
(Note: The above is a joke. Do not enter that command. It WILL delete everything on your hard drive. The process is instantaneous, can not be stopped, and can not be undone. You have been warned.)
First of all, don't make that kind of joke here, please... even with the disclaimer at the end. I ask that because this is a place filled with new linux users and some face severe language barriers using google translator just to be able to barely comunicate in english... so the warning at the end might actually be lost in translation. (make it bold and red and capslock at least, with some dying penguin skull on the side)
Second, it's "rm -rf", you ruined the joke!
(yes, I know the order doesn't really affect the command, but it is a classic)