Hi there,
I'm looking for a way to remove all drives (except drive c) in wine. When I start winecfg and remove them by hand all active linux-partitions re-appear next time wine is started. This is incredible annoying!
I found out in this post that it was a new "feature", introduced in wine-1.3.36. Someone told me how to shut-off auto-mount by hand: disabling winedevice.exe in the libraries-tab in winecfg turns-off the auto-mount-feature. Unfortunately, it also switches-off drive c, so running apps in a wineprefix won't work anymore. The linux-root-folder however, always is visible - no matter if winedevice.exe is disabled or not.
Is there a way to securely run wine-apps in a wineprefix? I'm testing old software here and don't want viruses to spread to ntfs-partitions of the main-system.
winecfg not saving drive-configuration
Re: winecfg not saving drive-configuration
...a windows-program doing linux-syscalls and changing linux-startup-scripts.... This just doesn't exist. For this to happen you need to catch a very special virus, programmed to run in wine.Wine does not (and cannot) stop a Windows app directly making native syscalls, messing with your files, altering your startup scripts, or doing other nasty things.
Wine shall not protect linux from getting infected. I want it to stop soft-linking my ntfs-partitions in the wineprefix-folder. This behavior is completely stupid.
Re: winecfg not saving drive-configuration
Your question was
And the answer I pointed you to saidIs there a way to securely run wine-apps in a wineprefix?
As forYou need to use AppArmor, SELinux or some type of virtual machine if you want to properly sandbox Windows apps.
the FAQ item also saidI want it to stop soft-linking my ntfs-partitions in the wineprefix-folder.
which seems to be what you want.the winetricks sandbox verb merely removes the desktop integration and Z: drive symlinks
Re: winecfg not saving drive-configuration
"winetricks sandbox verb"...? Guess I didn't get that. Not sure what this means. I will search on the web for that. Thank you anyway...
Re: winecfg not saving drive-configuration
@whatbug
See: WineHQ Wiki: Winetricks.
You just type:
Code: Select all
winetricks sandbox
See: Github: bobwya/winetricks README.
Which has some rather verbose instructions on how to keep winetricks up-to-date...
Bob
Re: winecfg not saving drive-configuration
thanks for your help