Author Topic: Permission issues but failure to rectify  (Read 1149 times)

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Permission issues but failure to rectify
« on: May 16, 2010, 09:04:09 am »
Hi,

Ok, installation eventually went fine, however, when I attempt to run in the terminal I get -

peter@peter-laptop:~$ /peter/planeshift/PlaneShift/pslaunch
bash: /peter/planeshift/PlaneShift/pslaunch: Permission denied

Therefore I do this -

peter@peter-laptop:~$ sudo chown peter: peter/planeshift/PlaneShift/pslaunch

And get this -

chown: cannot access `peter/planeshift/PlaneShift/pslaunch': No such file or directory

This is roughly where my Linux knowledge runs out, as I am barely competent, and I can find no way of resolving this permission issue. How can I change the permissions if it cannot find the directory or file? It doesn't work for the setup or uninstall files either.

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Permission issues but failure to rectify
« Reply #1 on: May 16, 2010, 09:26:17 am »
It looks like you forgot the first / at the beginning of the path.
sudo chown peter: /peter/planeshift/PlaneShift/pslaunch instead of sudo chown peter: peter/planeshift/PlaneShift/pslaunch

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

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Permission issues but failure to rectify
« Reply #2 on: May 16, 2010, 09:46:56 am »
It didn't tell me that it couldn't be found, so therefore the permissions must have been changed (and thanks for pointing out my mistake), but it still gives me permission denied when I try to run the file -

peter@peter-laptop:~$ sudo chown peter: /peter/planeshift/PlaneShift/pslaunch
peter@peter-laptop:~$ /peter/planeshift/PlaneShift/pslaunch
bash: /peter/planeshift/PlaneShift/pslaunch: Permission denied

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Permission issues but failure to rectify
« Reply #3 on: May 16, 2010, 10:32:46 am »
Strange...
What does
ls -l /peter/planeshift/PlaneShift/pslaunch
tell? (best paste output)

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

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Permission issues but failure to rectify
« Reply #4 on: May 16, 2010, 10:55:39 am »
Usefully it gives -

ls: cannot access /peter/planeshift/PlaneShift/pslaunch: Permission denied

This is getting very curious.

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Permission issues but failure to rectify
« Reply #5 on: May 16, 2010, 12:07:17 pm »
Check the permissions of the directores to pslaunch :)
.....also a saddle that won't pinch the tail. One day!

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Permission issues but failure to rectify
« Reply #6 on: May 16, 2010, 12:12:49 pm »
Ok, I have changed permissions on all the directories and more files after it gave me more errors, however now it won't run it as I get this -

Couldn't open xml file '/this/updaterinfo.xml'!
Unable to get root node
Opening GLX2D
Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x000000c7, 24bit TrueColor
R8:G8:B8:A0,
level 0, double buffered
WARNING: Could not open driver database file '/config/gldrivers.xml'
NOTIFY: OpenGL renderer: Mesa DRI Intel(R) 945GME GEM 20091221 2009Q4 x86/MMX/SSE2 (vendor: Tungsten Graphics, Inc) version 1.4 Mesa 7.7.1
NOTIFY: Using windowed mode at resolution 640x480.
NOTIFY: Pixel format: Color: 24 Alpha: 0 Depth: 0 Stencil: 0 AccumColor: 0 AccumAlpha: 0 MultiSamples: 0
NOTIFY: Multisample: disabled
NOTIFY: Using VBO with 64 MB of VBO memory
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.weaver'
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: Can not load default shader vars, no iSyntaxService available
Sun May 16 13:11:25 2010, <src/common/paws/pawsmainwidget.cpp:47 pawsMainWidget SEVERE>
Sun May 16 13:11:25 2010, Failed to load GUI keys
Mounting skin: /planeshift/art/pslaunch.zip
Sun May 16 13:11:25 2010, <src/common/util/psxmlparser.cpp:282 ParseFile SEVERE>
Sun May 16 13:11:25 2010, Could not find file: /paws/temp_skin/skin.xml
Sun May 16 13:11:25 2010, <src/common/paws/pawsmanager.cpp:348 LoadSkinDefinition SEVERE>
Sun May 16 13:11:25 2010, Could not read skin.xml on /planeshift/art/pslaunch.zip!
Sun May 16 13:11:25 2010, <src/common/paws/pawsmanager.cpp:138 PawsManager SEVERE>
Sun May 16 13:11:25 2010, Failed to load skin /planeshift/art/pslaunch.zip!

Any ideas what that means?

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Permission issues but failure to rectify
« Reply #7 on: May 16, 2010, 06:14:17 pm »
it seems you lack most of the client or can't access it

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Permission issues but failure to rectify
« Reply #8 on: May 16, 2010, 07:07:32 pm »
I'd do a
./pslaunch --repair
Whatever happened.. this should repair it :)

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

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Permission issues but failure to rectify
« Reply #9 on: May 17, 2010, 06:44:57 am »
Brilliantly, and by now not surprisingly, it gives -

peter@peter-laptop/peter/planeshift/PlaneShift/pslaunch --repair

PlaneShift Updater Version 2.60 for linux32.

Checking the integrity of the install:
Beginning integrity check!

Couldn't open xml file '/this/updaterinfo.xml'!
Unable to get root node!
Segmentation fault

I thought I had managed to get past the segmentation fault to allow the install in the first place. Anyway I could uninstall and try from scratch again?

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Permission issues but failure to rectify
« Reply #10 on: May 17, 2010, 04:24:45 pm »
Better also re-download it...

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

fritzbun

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Permission issues but failure to rectify
« Reply #11 on: May 17, 2010, 05:34:47 pm »
*sigh*

Attempted to uninstall - it gave me an error message at 89% and quit the uninstall program leaving my terminal saying this -

peter@peter-laptop:~$ /peter/planeshift/PlaneShift/uninstall
Uninstallation did not complete successfully

So when I then tried to run uninstall again it gave me -

peter@peter-laptop:~$ /peter/planeshift/PlaneShift/uninstall
bash: /peter/planeshift/PlaneShift/uninstall: No such file or directory

Any ideas?