Gcenx / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.4k stars 167 forks source link

folder mapping and driver mapping seems not work properly in Wrapper 3.0.X #577

Open niphor opened 2 months ago

niphor commented 2 months ago

Environment:

Describe the bug

  1. mapping driver cant access
  2. mapping user folder cant access

To Reproduce

  1. creater a new blank wrapper

  2. add some app, i added winscp (because it can test folder accessibility directly)

  3. change os to Win7 (to use winscp)

  4. open winecfg add driver D mapping to /Users/your/Downloads

    image
  5. mapping Download folder to MacOS's downloads folder

    image
  6. now run app or create CustomEXE and run,

--> driver d can't access $HOME/Downloads can't access

Expected behavior

  1. driver D can be accessed
  2. /user/your/Downloads can be accessed

Screenshots driver D does not display, because it can't be accessed

image

C:\users\your\Downloads,cant be accessed, returns "error -5 Access Denied"

image

LastRunWine.log not generated

Additional context test with Wrapper 3.0.2

last working Wrapper is 2.9.2.1-rc9(Wineskin-2.9.2.1 seems temporary disabled the folder mapping feature) but 2.9.2.1-rc9 mappings all folder's with default settings, not seetings displayed in setting panel

as update instance's wrapper, seems may cause folder mapping settings can not be properly displayed in panel see #574 Additional context

Gcenx commented 2 months ago

Winery-2.0.1 requires Xcode Command Line Tools to be installed.

Also this issue isn’t clear, are you saying you always have issues accessing ~/Downloads or only when using a CustomEXE launcher?

niphor commented 2 months ago
  1. Xcode Command Line Tools installed

    image
  2. yes, always have issues accessing ~/Downloads

Gcenx commented 2 months ago

Again, is this only happening with CustomEXE laununchers?

niphor commented 2 months ago

sorry

no, it is also happening with main wrapper app

Gcenx commented 2 months ago

Try updating the new Winery version and then make a new wrapper using Wineskin-3.0.3

niphor commented 2 months ago

Using the new Winery and Wineskin can successfully map folders. thanks.

However, there is inconsistency between the folder mapping and the settings panel. I am still able to access folders like ~/Music and other ones, but they are not configured

image image

such as ~/Music ,it is not configured, but can be accessed

image image
Gcenx commented 2 months ago

So you'd like more granular control over the folder mappings?

e.g, only mapping ~/Downloads but nothing else

niphor commented 2 months ago

Yes,

at least that's the meaning conveyed by this text on the panel. I think

image