PDA

View Full Version : [ubuntu] Permissions



MONKEY4SALE
June 28th, 2008, 01:24 AM
So i downloaded and installed PlaneShift but i have a problem, when I try to run/uninstall I get an error, of:

Failed to execute child process "/opt/
PlaneShift/psclient" (Permission denied)

but im running on the only account I made, and as far as I can tell, it is impossible to log in as root from the login screen.

Journeyman
June 28th, 2008, 01:38 AM
you can run as root using gksudo <program> (gksudo is for gui apps) also if you type sudo -i or sudo -s it will give you a root prompt

MONKEY4SALE
June 28th, 2008, 01:40 AM
tried gksudo, asked for my pword,I entered it, and then nothing happened....

and when doing sudo -s:

/opt/PlaneShift/psclient: line 5: cd: /root//opt/PlaneShift: No such file or directory
chmod: cannot access `psclient.bin': No such file or directory
/opt/PlaneShift/psclient: line 8: /root/psclient.bin: No such file or directory
/opt/PlaneShift/psclient: line 8: exec: /root/psclient.bin: cannot execute: No such file or directory

Journeyman
June 28th, 2008, 01:49 AM
I miss read your first post, thinking you where installing it, running it as root wouldn't be good in the first place. so back to fixing your problem.

try this

sudo chmod -R a+rx /opt/Planeshift

that should correct the permissions. if that doesn't do
sudo chmod -R a+rwx /opt/Planeshift

MONKEY4SALE
June 28th, 2008, 02:12 AM
now the perms work, but the program doesnt, nothing happens when I click on it.

thanks for helping, now I need to figure out the odd non-working....

BrownieBoy
October 4th, 2009, 02:06 AM
I miss read your first post, thinking you where installing it, running it as root wouldn't be good in the first place. so back to fixing your problem.

try this

sudo chmod -R a+rx /opt/Planeshift

that should correct the permissions. if that doesn't do
sudo chmod -R a+rwx /opt/Planeshift

Worked for me, although it's capital "S" in PlaneShift, i.e.:


sudo chmod -R a+rx /opt/PlaneShift

cervantes_
October 22nd, 2009, 05:44 PM
am having a similar problem but for me it won't let me drag and drop the fire fox icon on to the desktop cause it says i don't have permission but am the only user