Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


penumbra.bin - Permission denied!?
Ozzie Offline
Junior Member

Posts: 13
Threads: 1
Joined: Feb 2008
Reputation: 0
#1
Solved: 5 Years, 10 Months, 2 Weeks ago penumbra.bin - Permission denied!?

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.
02-11-2008, 01:47 PM
Find
ced117 Offline
Member

Posts: 115
Threads: 1
Joined: Apr 2007
Reputation: 0
#2
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

Permission denied, huh ?

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

and retry just with ./penumbra and not sh ./penumbra
02-11-2008, 02:08 PM
Website Find
Ozzie Offline
Junior Member

Posts: 13
Threads: 1
Joined: Feb 2008
Reputation: 0
#3
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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

Sad
02-11-2008, 02:16 PM
Find
ced117 Offline
Member

Posts: 115
Threads: 1
Joined: Apr 2007
Reputation: 0
#4
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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.
02-11-2008, 02:21 PM
Website Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#5
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
02-11-2008, 03:34 PM
Website Find
Ozzie Offline
Junior Member

Posts: 13
Threads: 1
Joined: Feb 2008
Reputation: 0
#6
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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

#!/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!!
02-11-2008, 05:50 PM
Find
Ozzie Offline
Junior Member

Posts: 13
Threads: 1
Joined: Feb 2008
Reputation: 0
#7
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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.
02-11-2008, 06:13 PM
Find
Thib_G Offline
Junior Member

Posts: 35
Threads: 1
Joined: Mar 2007
Reputation: 0
#8
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

Ozzie, it's quite strange...
Try to change the interpreter to bash or dash...?
02-11-2008, 06:27 PM
Find
Ozzie Offline
Junior Member

Posts: 13
Threads: 1
Joined: Feb 2008
Reputation: 0
#9
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

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

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

Dash:
./penumbra: 9: ./penumbra.bin: Permission denied
02-11-2008, 06:55 PM
Find
ced117 Offline
Member

Posts: 115
Threads: 1
Joined: Apr 2007
Reputation: 0
#10
Solved: 5 Years, 10 Months, 2 Weeks ago RE: penumbra.bin - Permission denied!?

what about "chmod 777 penumbra.bin" ?
02-11-2008, 08:50 PM
Website Find




Users browsing this thread: 1 Guest(s)