LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-16-2004, 03:09 PM   #1
awlred
LQ Newbie
 
Registered: May 2004
Posts: 17

Rep: Reputation: 0
UT2004 Permission Denied


I've tried installing UT2004 as my normal user and as root, I've tried to play the root install with root, my normal user and a newly created user all create this error

Code:
awlred@linux:~> sh --verbose --debug /windows/F/ut2004_tux/ut2004
#!/bin/sh
#
# ut2004 startup script
#

# Function to find the real directory a program resides in.
# Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
FindPath()
{
    fullpath="`echo $1 | grep /`"
    if [ "$fullpath" = "" ]; then
        oIFS="$IFS"
        IFS=:
        for path in $PATH
        do if [ -x "$path/$1" ]; then
               if [ "$path" = "" ]; then
                   path="."
               fi
               fullpath="$path/$1"
               break
           fi
        done
        IFS="$oIFS"
    fi
    if [ "$fullpath" = "" ]; then
        fullpath="$1"
    fi

    # Is the sed/ls magic portable?
    if [ -L "$fullpath" ]; then
        #fullpath="`ls -l "$fullpath" | awk '{print $11}'`"
        fullpath=`ls -l "$fullpath" |sed -e 's/.* -> //' |sed -e 's/\*//'`
    fi
    dirname $fullpath
}

# Set the home if not already set.
if [ "${UT2004_DATA_PATH}" = "" ]; then
    UT2004_DATA_PATH="`FindPath $0`/System"
fi
FindPath $0
echo $1 | grep /

LD_LIBRARY_PATH=.:${UT2004_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

# Let's boogie!
if [ -x "${UT2004_DATA_PATH}/ut2004-bin" ]
then
        cd "${UT2004_DATA_PATH}/"
        exec "./ut2004-bin" $*
fi
/windows/F/ut2004_tux/ut2004: line 49: /windows/F/ut2004_tux/System/ut2004-bin:                                                                    Permission denied
/windows/F/ut2004_tux/ut2004: line 49: /windows/F/ut2004_tux/System/ut2004-bin:                                                                    Success
Does anyone know how to fix this please, I get no load of the game at all its just that.

Yes it is off my Linux partition, needing to do some resizing :-S

System specs:
SUSE 9.1
512 RAM
80GB and 120GB hdds
GeForce FX 5200 128MB
2GHz AMD AthlonXP 2400+

Someone please help
 
Old 10-16-2004, 03:54 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Try setting your security a little lower in the security section. My guess is that you set it too high for a workstation/desktop machine.
 
Old 10-16-2004, 04:28 PM   #3
awlred
LQ Newbie
 
Registered: May 2004
Posts: 17

Original Poster
Rep: Reputation: 0
nope, no luck there
 
Old 10-16-2004, 09:08 PM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
What is confusing me about the above code quote is the /windows directory...

Where did you install this thing???
The normal place is in /usr/local/games.

Did you try installing this thing to a FAT32 partition??? That might be it. FAT32 does not support permissions in the filesystem. I'd recommend installing it with the defaults...

Also, try locating the 8MB Loki-code-based GUI installer,...
Whoops, I'm thinking of the Doom 3 installer... sorry,...

Run the installer as root from a command console shell like konsole (su to root, then use sh filename to run the installer). First copy it to the HD and run it from there. Let it keep the default directories.

Last edited by JaseP; 10-16-2004 at 09:10 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
su -> permission denied progster Linux - General 9 06-28-2007 12:36 PM
permission denied arcturus Linux - Networking 2 11-08-2005 01:30 PM
Permission denied tonyevansau Linux - General 3 10-28-2005 07:57 PM
permission denied Ryan450 Linux - Software 2 01-19-2005 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration