Author Topic: psupdater.bin wants root access  (Read 4245 times)

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
psupdater.bin wants root access
« on: September 02, 2008, 06:40:34 pm »
psupdater wants root access but when i give it still says it requires root access, ive tried both su and sudo. is there  a possible way to fix this?

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: psupdater.bin wants root access
« Reply #1 on: September 02, 2008, 06:55:06 pm »
have you installed the full game or just downloaded the updater?

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #2 on: September 02, 2008, 06:55:51 pm »
full game

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: psupdater.bin wants root access
« Reply #3 on: September 02, 2008, 07:08:08 pm »
As a non-Ubuntu user: what exactly is the error message and what does ls -l say about the updater files?

Sen
.....also a saddle that won't pinch the tail. One day!

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #4 on: September 02, 2008, 07:14:48 pm »
As a non-Ubuntu user: what exactly is the error message and what does ls -l say about the updater files?

Sen

omega@omega-desktop:~$ su
Password:
root@omega-desktop:/home/omega# cd /home/omega/Desktop/untitled
root@omega-desktop:/home/omega/Desktop/untitled# chmod -x psupdater.bin
root@omega-desktop:/home/omega/Desktop/untitled# ./psupdater.bin

PlaneShift Updater Version 5 for linux32.

Checking for updates:
This program requires admin/root or write privileges to run. Please restart the program with these.
In windows, this means right clicking the Updater shortcut and selecting "Run as administrator".
For everyone else, login as the root user. If you don't have root access, contact someone who does and ask them nicely to run the updater!

Updater finished, press enter to exit.

and it doesnt matter if i put -l after or not, its still the same thing, or do you mean "-|"
« Last Edit: September 02, 2008, 07:46:03 pm by Joshed Delerer »

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Aiwendil

  • Guest
Re: psupdater.bin wants root access
« Reply #5 on: September 02, 2008, 07:48:34 pm »
root@omega-desktop:/home/omega/Desktop/untitled# chmod -x psupdater.bin

Why that? Shouldn't the updater script have execution rights? When I take the executable bit from my psupdater.bin and the try to run it, it doesn't work too. But after a "chmod +x psupdater.bin" it works again. But I use a 64 bit gentoo, so maybe there is something about ubuntu I don't know....

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #6 on: September 02, 2008, 07:49:38 pm »
i set it like that just for the extra security from n00bs using my computer and breaking it

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Aiwendil

  • Guest
Re: psupdater.bin wants root access
« Reply #7 on: September 02, 2008, 08:03:00 pm »
Sorry, only guessing now....
The updater quits while checking if new updates are available. So do you have anything configured that disallows internet access for applications of the user root? You could try to install the game local as a normal user (somewhere in the home directory, but from your logs I guess you did that already). This user should be able to update planeshift without root privileges. Maybe check what user, group and permissions you set for PS during the installation. But I fear all I write here won't help you because root should always be able to update PS....

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #8 on: September 02, 2008, 08:05:13 pm »
Sorry, only guessing now....
The updater quits while checking if new updates are available. So do you have anything configured that disallows internet access for applications of the user root? You could try to install the game local as a normal user (somewhere in the home directory, but from your logs I guess you did that already). This user should be able to update planeshift without root privileges. Maybe check what user, group and permissions you set for PS during the installation. But I fear all I write here won't help you because root should always be able to update PS....

ive actually tried that, i havent found anything that disallows, nor have i set anything to do so. ive installed it as root same thing, uninstalled, reinstalled as localuser and same thing

edit: Maybe you coudl find something in it that im missing, do you have a spare computer laying aroud that you could run a livecd of Ubuntu on and check out the settings and such, its nice to have a second pair of eyes especially in something as complex and powerful as Linux


EDIT2: OOHHHH what ports do the updater and client use? maybe that could be the issue..
« Last Edit: September 02, 2008, 08:14:10 pm by Joshed Delerer »

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: psupdater.bin wants root access
« Reply #9 on: September 02, 2008, 08:13:48 pm »
Try to use psupdater instead of psupdater.bin *thinks there was something....*
.....also a saddle that won't pinch the tail. One day!

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #10 on: September 02, 2008, 08:15:12 pm »
Try to use psupdater instead of psupdater.bin *thinks there was something....*

root@omega-desktop:/home/omega/Desktop/untitled# ./psupdater

PlaneShift Updater Version 5 for linux32.

Checking for updates:
This program requires admin/root or write privileges to run. Please restart the program with these.
In windows, this means right clicking the Updater shortcut and selecting "Run as administrator".
For everyone else, login as the root user. If you don't have root access, contact someone who does and ask them nicely to run the updater!

Updater finished, press enter to exit.

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

apis

  • Hydlaa Resident
  • *
  • Posts: 72
    • View Profile
    • The Way of the Hammer
Re: psupdater.bin wants root access
« Reply #11 on: September 02, 2008, 08:43:24 pm »
What is the output from
Code: [Select]
root@omega-desktop:/home/omega/Desktop/untitled# ls -al
* apis thinks you have done a chmod in error in there somewhere...
Apis - The Way of the Hammer

Aiwendil

  • Guest
Re: psupdater.bin wants root access
« Reply #12 on: September 02, 2008, 08:48:11 pm »
Some infos from LigH in the IRC channel:

Quote
<AiwendilH> does the PS updater need any open ports in a firewall to function correctly?
<LigH> AiwendilH: No. It acts like a web browser.
<LigH> AiwendilH: If your browser needs a proxy, then the updater needs it too. But that's very rarely the case.

But I fear that doesn't help you either....

Joshed Delerer

  • Hydlaa Resident
  • *
  • Posts: 55
    • View Profile
Re: psupdater.bin wants root access
« Reply #13 on: September 02, 2008, 08:54:23 pm »
What is the output from
Code: [Select]
root@omega-desktop:/home/omega/Desktop/untitled# ls -al
* apis thinks you have done a chmod in error in there somewhere...
root@omega-desktop:/home/omega/Desktop/untitled# ls -al
total 1224
drwxr-xr-x 2 omega omega    4096 2008-09-02 13:04 .(blue)
drwxr-xr-x 3 omega omega    4096 2008-09-02 14:22 ..(blue)
-rwxr-xr-x 1 omega omega     101 2008-07-21 03:41 psupdater(green)
-rwxr-xr-x 1 omega omega 1236200 2008-07-21 03:41 psupdater.bin(green)


Some infos from LigH in the IRC channel:

Quote
<AiwendilH> does the PS updater need any open ports in a firewall to function correctly?
<LigH> AiwendilH: No. It acts like a web browser.
<LigH> AiwendilH: If your browser needs a proxy, then the updater needs it too. But that's very rarely the case.

But I fear that doesn't help you either....

sadly no.. T_T

A stand can be made against invasion by an army; no stand can be made against invasion by an idea.

Aiwendil

  • Guest
Re: psupdater.bin wants root access
« Reply #14 on: September 02, 2008, 09:02:20 pm »
lol, but your ls -la maybe helped...

are these 2 files the only files in that directory? You need at least one installed version of PS (I think newer then 4.0) to run the updater. And I think you have to run the updater from the directory in which PS is installed. If you run it with the "psupdater" script this should be done automatically. Or didn't you just post the complete output of ls -la?