LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2005, 08:53 PM   #1
marie-p
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
executable file won't open


I downloaded the install file for Win4Lin and when I try to open it, I get a message telling me that the file "is an executable program. For safety it will not be started."

How do I get around that?

(I'm using SuSE 9.1)
 
Old 01-20-2005, 09:32 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Do you actually want to read the contents of the executable? is it a binary or a script?

Or do you want to execute it?

With what did you try to open it with?
 
Old 01-20-2005, 09:35 PM   #3
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
If it is a .exe file which is for windows you will need to use a windows emulator like wine or cedega.
 
Old 01-21-2005, 07:39 AM   #4
marie-p
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
I'm not trying to view the content, I'm trying to execute it.

I don't remember what file type it is (it's at home and I'm at work right now) but I'm pretty sure it's not .exe. I have WINE installed and I've had no problems opening .exe files.

When I clicked on it, it gives me the option of "save as" and "open with". I click on "open with" and that's when it gives me the error message. Before I can choose what software I want to use to open it.
 
Old 01-21-2005, 08:45 AM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Do a ls -l against the file and check the permissions, it maybe set as an executable.

ls -l thefilename
-rwxr-xr-x 1 username username 200 2004-05-13 04:00 thefilename

To change it to a normal file do:
chmod -x thefilename
 
Old 01-21-2005, 10:51 AM   #6
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
Use the file command to see the file type

file <filename>

If it's a Linux executable you should see something like this:

ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

If it's something else, please post the output here.
 
Old 01-21-2005, 06:13 PM   #7
marie-p
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
ok... I'm dumb.

I forgot to log on as root before trying to install the software.

Times like this I wish I had a paper bag to put over my head.

Ah well, problem solved. Thanks anyways for the help.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
every file is created executable oopsnic Fedora 4 08-15-2005 02:38 AM
Changing the default open action for an executable file nitrambass LinuxQuestions.org Member Intro 1 06-22-2004 03:09 PM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 04:54 PM
ftp an executable file siwaporn Linux - General 5 03-16-2004 12:01 AM
Why the executable file could not execute? jeson_515 Programming 3 03-14-2004 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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