0
votes
0answers
19 views

Lost executable +x permissions after home folder encryption

I have encrypted my home folder, where I have many compiled installations of Qt, and now every executable file in all those installations have lost their +x flag in permissions, and I can't execute ...
-1
votes
1answer
612 views

cannot execute binary file (OSX & Raspbian)

I tried to execute a file it keeps giving me cannot execute binary fileerror myfile Permission: 777 Running file myfile myfile: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), ...
1
vote
1answer
108 views

On Windows, why can't you overwrite the executable of a running application?

On linux systems, this causes no problems at all: the exe is loaded into ram when it is launched. The file can then disappear, be moved, etc. with no interaction whatsoever. This doesn't seem to be ...
1
vote
2answers
808 views

How to chmod +x a file in Windows, for use in Linux?

I have a file that needs to be executable in Linux, which I'd do by using chmod +x when using Linux. My problem is: this file is compiled in Windows, and it's a pain to have to open my Ubuntu VM to ...
1
vote
2answers
53 views

Closing a (remote) linux command-line interface

If I run code (e.g. an executable) on a Linux command-line interface and then close the interface, what happens? Does the executable keep running in the background? What if it requires user-input? Can ...
0
votes
1answer
1k views

Why does my debian wheezy linux refuse to execute this ELF file?

I just installed EAGLE on my debian wheezy box, but I cannot start the executable: joe@mybox:/opt/eagle-6.4.0/bin$ ll total 18264 drwxrwxr-x 2 joe joe 4096 Jan 7 17:02 . drwxrwxr-x 10 joe joe ...
0
votes
3answers
224 views

File exists but cannot be executed from another folder

On my Fedora 16 machine, I have an executable file named 'WarpImageMultiTransform', and I can run it when I cd into the folder that contains it: [huangchao@localhost bin]$ ./WarpImageMultiTransform ...
0
votes
1answer
183 views

Why is the linux ELF loader called sometimes interpreter?

I have always been wondering, why is Linux ELF "loader" called interpreter? I mean, in standard programming meaning, an interpreter is used to run scripts, but ELF has machine code instructions. So ...
0
votes
2answers
344 views

Write permission on binary/executable files: Are they necessary?

I thought: echo hello world > /usr/bin/firefox would display the message in the browser. Nothing happened. Then I tried: echo hello world > /usr/bin/kwrite to see if kwrite opens with 'hello ...
0
votes
1answer
67 views

Binary for many platforms?

Is there any way to create a binary that will run on many executable file formats (for example, Mach-O and ELF)? Even if it's just a file that contains both and runs the right one, I'd like to make an ...
1
vote
2answers
2k views

Where is the visualVM executable for linux?

I'm trying to install the VisualVM plugin for eclipse, on my Ubuntu linux. I'm following the instructions here. So I've done the installation part, and the plugin is installed to eclipse. Now for ...
0
votes
0answers
241 views

Running Windows Visual c++ program in Linux

I am trying to run this code on PAGE 7. of this document, and successfully ran it on Microsoft Visual Studio 2010 for Windows. The problem is that I need to get this code working on linux. I read up a ...
0
votes
1answer
21 views

Switcher bash script

I want an executable script that changes screen configuration from 1 to 2 or from 2 to 1. I would need a boolean or a variable where the state is saved. It's that possible? Otherwise, how can I check ...
0
votes
1answer
20 views

starting application with custom initial folder

I am working on linux. Do you know which command to start an application setting an "initial folder" for it. If I start my app from a directory that is not the one containing the app itself, some ...
22
votes
3answers
1k views

Subverting the execute flag on Linux systems. Why is this possible?

Whilst reading this, I found the following exploit: % cp /usr/bin/id ~ % chmod -x ~/id % ls -al ~/id -rw-r--r-- 1 edd edd 22020 2012-08-01 15:06 /home/edd/id % ~/id zsh: permission denied: ...
0
votes
1answer
697 views

Executable does not exist in /usr/local/bin, but it does in /usr/bin, yet it still fails

I had to compile wine by hand for a certain patch, but I no longer need it. So I did a make distclean (guess I should have done a make uninstall from the start, but oh well) and it was still there. ...
1
vote
4answers
5k views

Why doesn't my executable execute when I click on it?

Why does it seems like I can't open A executable file created on C++ by double clicking it. I have a file that I ran from an IDE an I would like to know if there is a Way to set that file to Open the ...
0
votes
0answers
100 views

Is it possible to log all files that are executed in Ubuntu? [duplicate]

Possible Duplicate: How can I log all process launches in Linux I would like to be able to log all the files that are executed on my system, so I can see later in a log which files have ...
1
vote
1answer
360 views

Extract executable/script from memory in (Ubuntu) Linux

Okay, on Linux, when I delete a running executable or script, it usually (for me, pretty much always, but I don't know if it will work in every case) continues to run without any problems. So I've got ...
2
votes
2answers
11k views

Why do I get “command not found” when the binary file exists?

Here's my problem. I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get: bash: ./tests: No such file or directory I did some research, and found it could ...
15
votes
3answers
6k views

Why won't windows exe's work on Linux?

I'm not asking about how to make a Windows exe work in Linux. I'm asking WHY it does not work. What is different about the way Windows runs an executable and Linux runs an executable? Why did they ...
2
votes
1answer
2k views

Why is Ubuntu trying to open my Mono app with Wine instead of Mono?

So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the ...
8
votes
4answers
676 views

why ./ is needed to run a runnable file?

I'm using ubuntu and I notice many of my runnable scripts won't run unless I precede theme by ./. For example, if I have a perl script: /home/me/script.pl and I'm currently in /home/me, typing ...
0
votes
1answer
396 views

How to execute a part of a (text)file?

So I'm looking for a command on Linux that would let me execute a file as binary, but skipping the first x bytes, so: $ echo "some text" > file $ cat /bin/bash >> file $ ??? file # should ...