[Wine] How to remove read access to / and my $HOME

Randall Hopper viznut at charter.net
Wed Apr 16 17:00:29 CDT 2008


Dan Kegel:
 |On Tue, Apr 15, 2008 at 8:33 PM, Randall Hopper <viznut at charter.net> wrote:
 |>  The problem I have is I want to restrict IE6 from being able to access my
 |>  entire Linux file system and just allow it to access (for instance)
 |>  ~/.wine/drive_c.
 |
 |Sort of.  By deleting the ~/.wine/dosdrives/z: symlink, you'll
 |make it a lot harder for malware to browse your system.
 |It's not foolproof, but give it a shot.

Thanks, but I'd already done that.  Inside IE6, File->Open->Browse... still
lets me walk around inside of my entire Linux file system.

I guess the question is, how do I get rid of the "/" folder (my Linux file
system) which lives inside the top-level Desktop folder?:

       Desktop
          My Computer
          My Documents
          /
           ...

If I can't, is running Wine inside of a chroot practical?

Thanks,

Randall



~/.wine/dosdevices > ls -al
total 8
drwxr-xr-x 2 rhh users 4096 Apr 15 22:15 .
drwxr-xr-x 4 rhh users 4096 Apr 15 22:25 ..
lrwxrwxrwx 1 rhh users   10 Apr 15 21:55 c: -> ../drive_c
lrwxrwxrwx 1 rhh users   10 Apr 15 21:55 com1 -> /dev/ttyS0
lrwxrwxrwx 1 rhh users   10 Apr 15 21:55 com2 -> /dev/ttyS1
lrwxrwxrwx 1 rhh users   10 Apr 15 21:55 com3 -> /dev/ttyS2
lrwxrwxrwx 1 rhh users   10 Apr 15 21:55 com4 -> /dev/ttyS3
lrwxrwxrwx 1 rhh users    8 Apr 15 21:55 lpt1 -> /dev/lp0
lrwxrwxrwx 1 rhh users    9 Apr 15 22:14 x: -> /tmp/wine



More information about the wine-users mailing list