5

I would like to know if the executables run through Wine have any access beyond the virtual drives provided by Wine (e.g. C:/, D:/)?

1 Answer 1

4

There is a z: drive which is the Linux file system. Also you can define drives that point to any folder for which you have access.

If you want to confine programs running in Wine to parts of the filesystem, remove the z: drive and declare drives just for the parts that you want to make accessible. You can do this from the “Configure Wine” entry in the Wine menu or by modifying the symbolic links in ~/.wine/dosdevices/.

6
  • is there any way to limit Wine and programs run thru it to the ~/.wine and below?
    – curious
    Jan 8, 2012 at 9:08
  • 3
    You would have to remove the z: drive on the drives tab and redefine all the folders on the desktop integration tab.
    – Kevin
    Jan 8, 2012 at 9:14
  • Choose "configure wine" from the wine menu
    – Kevin
    Jan 8, 2012 at 9:19
  • thanks for help, if there is only C:/ listed, then that means program ran by Wine can't access anything below ~/.wine?
    – curious
    Jan 8, 2012 at 9:22
  • 2
    Wine is not a sandbox – a program can use Linux syscalls to interact with the rest of the system bypassing Wine, although this is unlikely to happen unless the program was intentionally written to do that.
    – ephemient
    Jan 9, 2012 at 2:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .