executing "DOS/Windows executable" files from "/media"
It seems all .exe files work from my /home folder, however as this didn't have enough space I installed a game(World of Warcraft) onto one of the file systems in /media folder. The game worked perfectly when I played it on Linux Mint 9 but when I upgraded to Linux mint 11 it wasn't marked as executable. When I attempt to change the permissions from properties to "allow executing file as program", it instantly deselects the box and double clicking has no effect. I've tried the "chmod +x" command from the terminal and that has no effect either. I can't move the file to my "/home" folder as it's too large. Any help please?
|
Maybe the /media filesystem was mounted with the noexec option. What are the current mount options (you can verify using the mount command without arguments)? Is there an entry in /etc/fstab for this filesystem?
|
I don't think you need +x for .exe files to work, since they are not loaded using the ELF loader. They are open by wine just like oowriter would open your .doc files. Maybe you just need to install wine, or otherwise, make sure that exe files are associated to wine.
|
Assuming you actually re-installed Wine after installing a new Mint, there's probably just a problem with the Wine path. Wine should have programs in
/home/yourname/.wine/drive_c/Program Files which it will call c:\Program Files You need to create a drive letter for where the files live. Run the Wine configuration tool and check what you've done. I have the root partition set up as z: so /media/wine/ would be z:\media\wine. You could, of course, name your special directory w: so that you'd run something like w:\program\program.exe. |
Quote:
|
Quote:
|
Quote:
famcam@famcam-desktop ~ $ mount /media/secondpt mount: according to mtab, /dev/sda5 is already mounted on /media/secondpt mount failed Have I done something wrong? |
Your command tries to mount /media/secondpt, hence the error message. To see the already mounted files and their mount options just run the mount command alone (without options and without arguments).
|
woops, sorry. So after running the mount command the options for /media/secondpt are these:
/dev/sda5 on /media/secondpt type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) |
Well, it looks like there is no problem with exec permissions. Anyway, you can give it a try and remount the filesystem marking all files as executables:
Code:
mount -o remount,mode=0777,exec /media/secondpt |
/media is usually for removable media. Don't mount to media make a different folder.
|
All times are GMT -5. The time now is 06:38 PM. |