Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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
1  
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
    
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 '12 at 9:22
show 2 more comments

Your Answer

 
discard

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.