LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-06-2002, 10:07 PM   #1
pyropenguin
Member
 
Registered: Sep 2002
Location: Iowa
Distribution: Redhat 9.0
Posts: 52

Rep: Reputation: 15
running .bin files


for some reason, and im sure its a easy to fix one, i cant run bin files from the console window, i used to be able to, i used the ./filename, and now it tells me that i dont have permission so i used the su command and then tried it and i still dont have permission so i logged on as root, and it still says i dont have persmission, right now im trying to run the java bin file and the ut2003 demo file which is a bin too, and it cant run them, should i just reinstall or can someone help?
 
Old 11-06-2002, 10:16 PM   #2
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Are these files on your hard drive or another drive?

When you issue the command 'ls -l' what are the file properties on the left side?
 
Old 11-06-2002, 10:21 PM   #3
pyropenguin
Member
 
Registered: Sep 2002
Location: Iowa
Distribution: Redhat 9.0
Posts: 52

Original Poster
Rep: Reputation: 15
they are on my hard drive and they have the rw which means i can read and write so i dont see where the problem is, this is frusturatiing!
 
Old 11-06-2002, 10:55 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Shouldn't they be executable to run ?? Have you tried to make them executable then tried them ?
 
Old 11-07-2002, 06:21 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
chmod +x filename.bin followed by
./filename.bin
In Linux (as in most, if not all, *nix setups) files need to be set as eXecutable before you can run them.
 
Old 11-07-2002, 09:03 AM   #6
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
I go to bed and you guys steal my thunder!

Pyropenguin, make sure you understand trickykid's question. Unlike MS-DOS/Windows, where the operating system assumes certain file extensions are executable (.bat, .exe and .com), Linux looks at the file properties to determine if the file is executable and if the current user has permission to execute it.

The command that Thymox gave you is the most likely answer--it is what all three of us were pointing you at. In a shell, type 'man chmod' and you'll get several pages on this useful little command. If you're not familiar with the man pages, you exit them by pressing 'q'.

One final note. You said they have 'the rw'--did you only see one set (there should have been two or three)? If so, you will probably have to issue chmod as root.

Let us know whether or not this works
 
Old 11-07-2002, 05:00 PM   #7
pyropenguin
Member
 
Registered: Sep 2002
Location: Iowa
Distribution: Redhat 9.0
Posts: 52

Original Poster
Rep: Reputation: 15
i tried the chmod -x and then ./filename and it didnt work, i mean is the x supposed to be like a variable where i put something else in or not, because i tried it, and i still get the same message about how i do not have permission
 
Old 11-07-2002, 05:02 PM   #8
pyropenguin
Member
 
Registered: Sep 2002
Location: Iowa
Distribution: Redhat 9.0
Posts: 52

Original Poster
Rep: Reputation: 15
and on another note, about the rw next to it, i have copied and pasted what happens after i did that
drwx------ 6 Adam Adam 4096 Nov 7 16:39 evolution
-rw------- 1 Adam Adam 21310600 Nov 6 21:45 j2re-1_4_0_02-linux-i586-rpm.bin
drwxrwxr-x 2 Adam Adam 4096 Nov 7 11:24 setiathome
-rw-rw-r-- 1 Adam Adam 89204 Nov 5 21:52 tuXperience~2.jpg
-rw-rw-r-- 1 Adam Adam 222783 Nov 5 22:52 tuxwhitebig.jpg
-rw-rw-r-- 1 Adam Adam 98801732 Sep 13 23:53 UT2003-Demo-Linux.sh.bin

the one im trying to do it to is unreal tournament and the jre2 java one, hopefully this will help you help me!
 
Old 11-07-2002, 06:58 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah, the problem is that you seem to have typed 'minus x' whereas you're supposed to type 'plus x'... re-read my post above.
 
  


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
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
.sit files and .bin files in Linux pierre24 Linux - Newbie 2 02-02-2005 07:55 AM
running bin files joeman3429 Fedora 8 08-08-2004 01:44 PM
How can I install Bin Files? or tg files? GeKsKe-XP Linux - Software 3 03-23-2004 03:54 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

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

All times are GMT -5. The time now is 04:40 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