hi
this question asked here and here but with no answer
I appreciate it if you could help me.
How to stop wine from creating ~/.wine/dosdevices/* files?
Re: How to stop wine from creating ~/.wine/dosdevices/* file
You could make that directory read-only. Note that configuration is not supported; any problems that creates will be yours to solve.
Re: How to stop wine from creating ~/.wine/dosdevices/* file
thanks but it doesn't work
err:ntdll:RtlpWaitForCriticalSection section 0x7ffc95a0 "device.c: device_section" wait timed out in thread 0019, blocked by 001c, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x7ffc95a0 "device.c: device_section" wait timed out in thread 0019, blocked by 001c, retrying (60 sec)
Re: How to stop wine from creating ~/.wine/dosdevices/* file
"Doesn't work" in what sense?
On my system making the dosdevices directory read-only does prevent Wine from adding any new links to it, and it doesn't even break winecfg or notepad. Whether it breaks other apps, I don't know; it might, which is why I warned you it's not supported.
If you were hoping that doing this would somehow solve some problem you're having, now would be a good time to explain the problem.
On my system making the dosdevices directory read-only does prevent Wine from adding any new links to it, and it doesn't even break winecfg or notepad. Whether it breaks other apps, I don't know; it might, which is why I warned you it's not supported.
If you were hoping that doing this would somehow solve some problem you're having, now would be a good time to explain the problem.
Re: How to stop wine from creating ~/.wine/dosdevices/* file
I tested two program both gave that error.
I just want to restrict windows programs access to my files ( in my case: freegate )
because of security I think Wine need to fix this issue.
thanks
I just want to restrict windows programs access to my files ( in my case: freegate )
because of security I think Wine need to fix this issue.
thanks
Re: How to stop wine from creating ~/.wine/dosdevices/* file
Removing the z: link will prevent apps running in Wine from being able to read or write files outside the wineprefix, but that is also not supported because it will break some things and is not really a defense against malware. Security needs to be handled by the host system, not Wine.