How to forbid an application to access root directory?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Ben Lau

How to forbid an application to access root directory?

Post by Ben Lau »

Hi all,

I am running wine 1.0.1 in a Debian SID machine. All the link to /
or my home folder is removed inside the Desktop integration tab in
using winecfg.
However, I found that application like SEPY running in wine is still
able to access / and my home folder. How can I forbid an application
running in
wine to access those directory? I only want Window application can
access ~/.wine and ~/Desktop.

Testing application :
SEPY (Flash editor) from http://www.sephiroth.it/python/sepy.php

Thanks.

p.s I remember that in the past, wine only allow to access
~/.wine/drive_c , when is it changed to allow to access HOME by
default?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to forbid an application to access root directory?

Post by vitamin »

Ben Lau wrote:Hi all,

I am running wine 1.0.1 in a Debian SID machine. All the link to /
or my home folder is removed inside the Desktop integration tab in
using winecfg.
However, I found that application like SEPY running in wine is still
able to access / and my home folder. How can I forbid an application
running in
wine to access those directory? I only want Window application can
access ~/.wine and ~/Desktop.
Remove z: drive in winecfg. However keep in mind that might brake some Wine parts that relay on being able to start programs from your system.
moujik
Newbie
Newbie
Posts: 1
Joined: Mon Nov 17, 2008 4:05 am

Re: How to forbid an application to access root directory?

Post by moujik »

vitamin wrote:
Remove z: drive in winecfg. However keep in mind that might brake some Wine parts that relay on being able to start programs from your system.
Could you draw on this please!
how would it do so if you only ran wine from $?
Than you!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to forbid an application to access root directory?

Post by vitamin »

moujik wrote:how would it do so if you only ran wine from $?
From where?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

How to forbid an application to access root directory?

Post by austin987 »

On Mon, Nov 17, 2008 at 3:09 AM, moujik <[email protected]> wrote:
vitamin wrote:

Remove z: drive in winecfg. However keep in mind that might brake some Wine parts that relay on being able to start programs from your system.
Could you draw on this please!
how would it do so if you only ran wine from $?
Than you!





Remove:
$ ~/.wine/dosdevices/z:

--
-Austin
Ben Lau

How to forbid an application to access root directory?

Post by Ben Lau »

On Mon, Nov 17, 2008 at 12:32 AM, vitamin <[email protected]> wrote:
Ben Lau wrote:
Hi all,

I am running wine 1.0.1 in a Debian SID machine. All the link to /
or my home folder is removed inside the Desktop integration tab in
using winecfg.
However, I found that application like SEPY running in wine is still
able to access / and my home folder. How can I forbid an application
running in
wine to access those directory? I only want Window application can
access ~/.wine and ~/Desktop.
Remove z: drive in winecfg. However keep in mind that might brake some Wine parts that relay on being able to start programs from your system.

Thanks for reply. I have already removed z: drive but it is still able
to access those folder. However, seem that it could only see the
folder name , but not able to read the content of files. hmm.. it
should be fine , I think.
Locked