Re: [opensuse] How to protect Wine from opening malware?
This is a bit OT for this list, but Björn seems to be the expert on this. I'm using PCLinuxOS, and I have two files called x-wine-extension-vbs.xml. One is in a subdirectory called /packages and one in a subdirectory called /application.
/application: a note says "This XML file does not appear to have any style information associated with it. The document tree is shown below."
-<mime-type type="application/x-wine-extension-vbs"> -<! --Created automatically by update-mime-database. DO NOT EDIT! !--> <glob pattern="*.vbs"/> <comment>VBScript Script File</comment> </mime-type>
/packages: a note says "This XML file does not appear to have any style information associated with it. The document tree is shown below."
-<mime-info> -<mime-type type="application/x-wine-extension-vbs"> <glob pattern="*.vbs"/> <comment>VBScript Script File</comment> </mime-type> </mime-info>
If your system is like mine, please clarify just what you did to one or both of these files. Do you found these two files in your HOME directory or in system
Doug wrote: directories? I found the two files application-x-wine-extension-vbs.xml and x-wine-extension-vbs.xml in my HOME directory. Personally I edited the file type x-wine-extension-vbs within the KDE settings tool systemsettings5 and deleted the *.vbs extension and the list of opening programs. As an alternative you can remove the two files in your HOME directory. If the files are stored in system's directories, removing them may not help, because updates with restore them. In this case you probably have to copy it to a specified location in your HOME directory and edit them. But the location is highly dependent on your system and I don't know the correct location. The error message "This XML file does not appear to have any style information associated with it. The document tree is shown below." comes from a browser or something similar. Please edit the files in a text edit. As the name *wine* says, Wine has probably created the files together with the MS Office installer. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-09-21 22:37, Bjoern Voigt wrote:
Doug wrote:
If your system is like mine, please clarify just what you did to one or both of these files. Do you found these two files in your HOME directory or in system directories?
I found the two files application-x-wine-extension-vbs.xml and x-wine-extension-vbs.xml in my HOME directory.
locate finds them at my home: .local/share/mime/application/x-wine-extension-vbs.xml .local/share/mime/packages/x-wine-extension-vbs.xml -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On 09/21/2017 03:37 PM, Bjoern Voigt wrote:
This is a bit OT for this list, but Björn seems to be the expert on this. I'm using PCLinuxOS, and I have two files called x-wine-extension-vbs.xml. One is in a subdirectory called /packages and one in a subdirectory called /application.
/application: a note says "This XML file does not appear to have any style information associated with it. The document tree is shown below."
-<mime-type type="application/x-wine-extension-vbs"> -<! --Created automatically by update-mime-database. DO NOT EDIT! !--> <glob pattern="*.vbs"/> <comment>VBScript Script File</comment> </mime-type>
/packages: a note says "This XML file does not appear to have any style information associated with it. The document tree is shown below."
-<mime-info> -<mime-type type="application/x-wine-extension-vbs"> <glob pattern="*.vbs"/> <comment>VBScript Script File</comment> </mime-type> </mime-info>
If your system is like mine, please clarify just what you did to one or both of these files. Do you found these two files in your HOME directory or in system
Doug wrote: directories?
I found the two files application-x-wine-extension-vbs.xml and x-wine-extension-vbs.xml in my HOME directory. Personally I edited the file type x-wine-extension-vbs within the KDE settings tool systemsettings5 and deleted the *.vbs extension and the list of opening programs. As an alternative you can remove the two files in your HOME directory.
If the files are stored in system's directories, removing them may not help, because updates with restore them. In this case you probably have to copy it to a specified location in your HOME directory and edit them. But the location is highly dependent on your system and I don't know the correct location. The error message "This XML file does not appear to have any style information associated with it. The document tree is shown below." comes from a browser or something similar. Please edit the files in a text edit.
As the name *wine* says, Wine has probably created the files together with the MS Office installer.
Greetings, Björn
Thanx, Björn. The path to the two files starts out in my /home directory, as follows: /home/doug/.local/share/mime/ and then diverges into two subdirectories: /packages/x-wine-extension-vbs.xml and /application/x-wine-extention-vbs.xml I guess you are recommending just deleting the packages ? --doug -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Doug wrote:
Thanx, Björn. The path to the two files starts out in my /home directory, as follows:
/home/doug/.local/share/mime/ and then diverges into two subdirectories: /packages/x-wine-extension-vbs.xml and /application/x-wine-extention-vbs.xml
I guess you are recommending just deleting the packages ? Yes, this is my recommendation. If you want to be extra safe, you can also move the two files to another directory.
After this, you should call update-mime-database: update-mime-database /home/doug/.local/share/mime Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Bjoern Voigt
-
Carlos E. R.
-
Doug