0% found this document useful (0 votes)
102 views6 pages

Linux Command Bible 012111

The document discusses troubleshooting an issue running a downloaded .exe file in Wine on Linux. A user was unable to change the file permissions to make the .exe executable. Other users suggest using terminal commands like sudo chmod +x to change the file permissions and chown to set the correct ownership. The third user's suggestion of running the full wine command directly on the file worked for the original user.

Uploaded by

Brian Brown
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views6 pages

Linux Command Bible 012111

The document discusses troubleshooting an issue running a downloaded .exe file in Wine on Linux. A user was unable to change the file permissions to make the .exe executable. Other users suggest using terminal commands like sudo chmod +x to change the file permissions and chown to set the correct ownership. The third user's suggestion of running the full wine command directly on the file worked for the original user.

Uploaded by

Brian Brown
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 6

LINUX COMMAND BIBLE 012111 http://ubuntu-virginia.ubuntuforums.org/showthread.php?

t=1643564

December 12th, 2010

#1 .exe not marked as executable i downloaded the .exe for foobar but wine won't run it because it's not executable. i tried right clicking to change permissions and that didn't work. i read in a similar post that permissions can't be changed if the .exe is from a CD and i was wondering if that's also the case if you download it instead

scan.tron
First Cup of Ubuntu

Join Date: Nov 2007 Beans: 8

December 12th, 2010

#2 Re: .exe not marked as executable


use it in terminal:sudo chmod +x /path/to/folder For example, i want to make my file name "me.exe"(to be executible),which is on desktop, so i will use ..

tajiknomi
Quad Shot of Ubuntu

Code: sudo chomod +x ~/Desktop/me.exe


Or alternatively, you can use "gksu nautilus" in terminal, it will open up a Nautilusmanager, and you can then right-click on that , and mark the file as Executable...

Join Date: Sep 2010 My beans are hidden! Ubuntu 10.04 Lucid Lynx

__________________
" I Haven't an Attitude Problem......I ju$T have a personality that others can't Handle :d "

Last edited by tajiknomi; December 12th, 2010 at 07:25 AM..

December 12th, 2010

#3

Synthetic Sam
5 Cups of Ubuntu

Re: .exe not marked as executable Which folder have you saved the exe in? Which version of foobar? Check that the ownership of the executable is set to your current user. I've just downloaded foobar2000_v1.1.1.exe and started it in wine without problems. I changed the executable bit using the right click menu in the same way that you mentioned. If this still doesn't work, you could try the following commands on the file where "user" is your username, and "group" is the usergroup (default is the same as your username):

Join Date: Oct 2010 Location: England Beans: 20 Ubuntu 10.10 Maverick Meerkat

Code:
sudo chown user:group foobar2000_v1.1.1.exe chmod +x foobar2000_v.1.1.1.exe wine foobar2000_v1.1.1.exe

[edit] Damn, beaten to it Last edited by Synthetic Sam; December 12th, 2010 at 07:13 AM.. Reason: Lateness

December 12th, 2010

#4 Re: .exe not marked as executable i get a cannot access error and it says there's no such file or directory

scan.tron
First Cup of Ubuntu

Join Date: Nov 2007 Beans: 8

December 12th, 2010

#5

scan.tron
First Cup of Ubuntu

Re: .exe not marked as executable i'm trying to use the same version of foobar, i'm listed as the owner, and the file is saved to my virtual C: drive/desktop

Join Date: Nov 2007 Beans: 8

December 12th, 2010

#6 Re: .exe not marked as executable Quote: Originally Posted by scan.tron i get a cannot access error and it says there's no such file or directory
I think you had select wrong path...Check out the path first.

tajiknomi
Quad Shot of Ubuntu

__________________
" I Haven't an Attitude Problem......I ju$T have a personality that others can't Handle :d "

Join Date: Sep 2010 My beans are hidden! Ubuntu 10.04 Lucid Lynx

December 12th, 2010

#7

Synthetic Sam
5 Cups of Ubuntu

Re: .exe not marked as executable instead of foobar2000_v1.1.1.exe in my previous commands, use this exchanging "sam" for your username: Code:
sudo chown sam:sam ~/Desktop/foobar2000_v1.1.1.exe chmod +x ~/Desktop/foobar2000_v1.1.1.exe wine ~/Desktop/foobar2000_v1.1.1.exe

Join Date: Oct 2010 Location: England Beans: 20 Ubuntu 10.10 Maverick Meerkat

Last edited by Synthetic Sam; December 12th, 2010 at 07:27 AM.. Reason: noticed that the wine desktop is a symlink

December 12th, 2010

#8 Re: .exe not marked as executable the first 2 lines gave me the same old 'no such file or directory' jazz and the third one worked like a charm. thanks for your help sam & tajiknomi!

scan.tron
First Cup of Ubuntu

Join Date: Nov 2007 Beans: 8

December 12th, 2010

#9

tajiknomi
Quad Shot of Ubuntu

Re: .exe not marked as executable Quote: Originally Posted by scan.tron the first 2 lines gave me the same old 'no such file or directory' jazz and the third one worked like a charm. thanks for your help sam & tajiknomi!
You can mark thread-as-solved in thread-tools above...

__________________
" I Haven't an Attitude Problem......I ju$T have a personality that others can't Handle :d "

Join Date: Sep 2010 My beans are hidden! Ubuntu 10.04 Lucid Lynx

New Reply

Re: .exe not marked as executable

use it in terminal:sudo chmod +x /path/to/folder For example, i want to make my file name "me.exe"(to be executible),which is on desktop, so i will use ..
Code:

sudo chomod +x ~/Desktop/me.exe

Or alternatively, you can use "gksu nautilus" in terminal, it will open up a Nautilusmanager, and you can then right-click on that , and mark the file as Executable...

Which folder have you saved the exe in? Which version of foobar? Check that the ownership of the executable is set to your current user. I've just downloaded foobar2000_v1.1.1.exe and started it in wine without problems. I changed the executable bit using the right click menu in the same way that you mentioned. If this still doesn't work, you could try the following commands on the file where "user" is your username, and "group" is the usergroup (default is the same as your username): Code: sudo chown user:group foobar2000_v1.1.1.exe chmod +x foobar2000_v.1.1.1.exe wine foobar2000_v1.1.1.exe

You might also like