Frictional Games Forum (read-only)
penumbra.bin - Permission denied!? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Penumbra Series (https://www.frictionalgames.com/forum/forum-22.html)
+---- Forum: Linux - Penumbra (https://www.frictionalgames.com/forum/forum-25.html)
+---- Thread: penumbra.bin - Permission denied!? (/thread-1588.html)

Pages: 1 2 3


penumbra.bin - Permission denied!? - Ozzie - 02-11-2008

Okay, I installed the game some days ago under Linux, and now I am finally able to post about my problem here.

So, from the directory where I have Penumbra installed I run the following command: sh ./penumbra

This happens then:
./penumbra: 9: ./penumbra.bin: Permission denied
Penumbra exited unexpectedly, please check
/home/kluff/.frictionalgames/Penumbra Overture/Episode1/hpl.log
for any error messages
Also try running
ulimit -c unlimited
And re-running Penumbra and try and recreate the error
then submit the generated core file or stack trace

I gave penumbra.bin full rights. When I make ls -l I get a confirmation of this:

[...]
-rwxrwxrwx 1 kluff plugdev 5121680 2007-06-22 03:20 penumbra.bin
[...]

No log file got created.
I'm not sure what I should do with "ulimit -c unlimited"!?
I have no idea why it doesn't work.

I use Ubuntu 7.10.


RE: penumbra.bin - Permission denied!? - ced117 - 02-11-2008

Permission denied, huh ?

Try to execute these commands:
chmod +x penumbra
chmod +x penumbra.bin

and retry just with ./penumbra and not sh ./penumbra


RE: penumbra.bin - Permission denied!? - Ozzie - 02-11-2008

bash: ./penumbra: /bin/sh: bad interpreter: Permission denied

Sad


RE: penumbra.bin - Permission denied!? - ced117 - 02-11-2008

Ozzie Wrote:bash: ./penumbra: /bin/sh: bad interpreter: Permission denied

Sad
wtf, try to run the game as root.
sudo ./penumbra
Just to look if you get the same error.


RE: penumbra.bin - Permission denied!? - Urkle - 02-11-2008

try reinstalling the game. It looks like your penumbra startup script may be corrupted. Also try disabling selinux if it is enabled.


RE: penumbra.bin - Permission denied!? - Ozzie - 02-11-2008

I don't think there's any problem with the startup script.
The script file, penumbra, looks like this for me:

Code:
#!/bin/sh
gamepath=`dirname ${0}`
cd $gamepath > /dev/null
chcon=`which chcon`
if [ -n "$chcon" ]; then
    $chcon -t textrel_shlib_t lib/libSDL-1.2.so.0 2> /dev/null
fi
export LD_LIBRARY_PATH=./lib
./penumbra.bin "$@"
if [ $? -ne 0 ]; then
    echo Penumbra exited unexpectedly, please check
    echo  ${HOME}/.frictionalgames/Penumbra Overture/Episode1/hpl.log
    echo for any error messages
    echo Also try running
    echo  ulimit -c unlimited
    echo And re-running Penumbra and try and recreate the error
    echo then submit the generated core file or stack trace
fi
cd - > /dev/null

I don't know how to disable SELinux, but according to the rights tab of Gnome, SELinux context is unknown.

I will reinstall the game and try to run it without the update applied.
Let's see if at least another error pops up.

Thanks for your help so far!!


RE: penumbra.bin - Permission denied!? - Ozzie - 02-11-2008

I made a new uninstall, didn't change anything, but then I noticed that I have no free space on my partition anymore!!

Okay, I made some free space, reinstalled, and it still doesn't work!
So, maybe this SELinux stuff might help!?

Oh, using sudo doesn't work either.


RE: penumbra.bin - Permission denied!? - Thib_G - 02-11-2008

Ozzie, it's quite strange...
Try to change the interpreter to bash or dash...?


RE: penumbra.bin - Permission denied!? - Ozzie - 02-11-2008

With both basically the same error.
Except that with bash it tells me very clearly that the error lies in line 9...

Bash:
Code:
./penumbra: line 9: ./penumbra.bin: Permission denied

Dash:
Code:
./penumbra: 9: ./penumbra.bin: Permission denied



RE: penumbra.bin - Permission denied!? - ced117 - 02-11-2008

what about "chmod 777 penumbra.bin" ?