
On 2017-09-19 20:03, Billie Walsh wrote:
On 09/19/2017 07:07 AM, Carlos E. R. wrote:
On 2017-09-19 13:26, Billie Walsh wrote:
On 09/19/2017 06:10 AM, Bjoern Voigt wrote:
Carlos E. R. wrote:
But you are actively clicking on a .vbs file, an "executable". The default action would be execute it (with wine). However, if it does not have the execute flag enabled, it would be a bug to try to execute it. Yes, I actively clicked on the VBS file in Ark, of course by mistake.
Execution bit is not necessary here. I created a test.vbs file on my KDE Plasma desktop and clicked on it. No warning was displayed, Wine executed the file. I also see this as a bug. It is the default Windows action. Wine simply acts as Windows would. But it is Linux who calls wine. Linux should not call wine to "open" a known executable file unless it has the executable bit.
Woulda. Coulda. Shoulda.
If it is a Windows executable it will call Wine regardless when you click it. That's how it works. It's just like if your in Windows.
No, because it is Linux who decides to call Wine, supposedly using Linux criteria. Windows criteria doesn't count yet, Wine is not yet running. IMHO, this is a security risk. Test. I send to myself an email with an inocuous (plain text file) with extension .vbs. First hurdle: my mail system intercepts it. Ok, it goes to the banned folder. I open the email, click on the attachment, and... I get a dialog: "open with" (with wine preselected as the default app)), or "save", and do this always. Thunderbird does it right. But Thunar (XFCE file browser) does not. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)