Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm totally new to Linux. 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:/)?

share|improve this question
up vote 3 down vote accepted

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/.

share|improve this answer
is there any way to limit Wine and programs run thru it to the ~/.wine and below? – curious Jan 8 '12 at 9:08
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 '12 at 9:14
thanks, where can I do that? – curious Jan 8 '12 at 9:16
Choose "configure wine" from the wine menu – Kevin Jan 8 '12 at 9:19
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 '12 at 2:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.