https://bugs.winehq.org/show_bug.cgi?id=53012
Bug ID: 53012 Summary: wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available. Product: Wine Version: 7.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: robwie2004@gmail.com Distribution: ---
It's happening on Arch with fresh wine install on btrfs filesystem & wayland. Thanks in advance.
https://bugs.winehq.org/show_bug.cgi?id=53012
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Is there any actual problem this causes?
https://bugs.winehq.org/show_bug.cgi?id=53012
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Blatantly invalid.
https://bugs.winehq.org/show_bug.cgi?id=53012
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Closing INVALID.
https://bugs.winehq.org/show_bug.cgi?id=53012
Luis Busquets luis.busquets@ilidium.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luis.busquets@ilidium.com
--- Comment #4 from Luis Busquets luis.busquets@ilidium.com --- Why was this bug considered as invalid?
When there is a drive that points to / the log generates:
wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.
(in my case drive Z: is the one pointing to /)
There seems to be a reason for denying access to root and in my opinion, wine should consider that case and provide an adequate FS volume label and serial if this happens.
Thus, this should be considered a bug in wine.
https://bugs.winehq.org/show_bug.cgi?id=53012
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
It has nothing to do with read access to the directory mapping, root or otherwise. That's not what the message means.
Wine first tries to get the volume information from a mapped drive as a device (FILE_NON_DIRECTORY_FILE). That is denied for directory mappings and Wine prints the message. Then Wine falls back to getting the volume information from the mapped drive as a directory (FILE_DIRECTORY_FILE), which is obviously allowed for directory mappings.
In the drive tab of winecfg, click on the 'show details' button of each mapped drive and you'll see that they all have a serial assigned to them, and a label field to set the volume label if it doesn't have one already.
You could argue that the message is misleading, could be rephrased and be made a FIXME or TRACE, but the message is a notification for something harmless and there is nothing to fix.
This is the reason why the issue is invalid.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53012
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 74721 --> https://bugs.winehq.org/attachment.cgi?id=74721 Reword and refactor FS volume label and serial not available message output.
Hello,
What about this?
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53012
conurus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |conurus@gmail.com
--- Comment #7 from conurus@gmail.com --- *** Bug 55239 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53012
--- Comment #8 from conurus@gmail.com --- Thank you very much. I wrote a Windows app that requires reading the volume label of a removable drive to function correctly, that worked on neither macOS nor Linux with wine. In winecfg, the "Label" is blank, but the UI does not allow me to set it at all.
What I am hoping for is pretty much for wine explorer.exe to be able to show labels for removable media such as SD cards, which it currently shows nothing because the label is blank.
The mount point path contains the volume label. e.g. if /Volume/SDCard is drive J:\ then GetVolumeInformation could return SDCard?
I do see all the partition labels (e.g. EFI) in wine explorer.exe.
It is very confusing that there is both a partition label and a filesystem label. Wine is getting the partition label only. This is not good in the sense that Windows uses both, not just the former.
https://bugs.winehq.org/show_bug.cgi?id=53012
--- Comment #9 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to conurus from comment #8)
Hello,
It's better to leave this bug closed and continue in your new bug. I'll reply there.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53012
--- Comment #10 from conurus@gmail.com --- Created attachment 74841 --> https://bugs.winehq.org/attachment.cgi?id=74841 Volume label of a SD card is blank
WINEDEBUG=+file,+volume,+mountmgr wine64 explorer.exe Go to My Computer, I: (drive letter of the SD card) The log before I clicked on "I:" is omitted
[first attempt at dosdevices/i::, two colons, in the trace] mountmgr is the one trying to deduce the volume label from the boot sector using low-level disk access. (dlls/mountmgr.sys/device.c, VOLUME_ReadFATSuperblock) We know that it is bound to fail (permission denied) and we think it is harmless.
[Fallback to dosdevices/i: (single colon)] I don't think the fallback case find any volume label either, but returns a blank string. It seems like the fallback case expects .windows-label to contain the volume label.
https://bugs.winehq.org/show_bug.cgi?id=53012
conurus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74841|0 |1 is obsolete| |
--- Comment #11 from conurus@gmail.com --- Comment on attachment 74841 --> https://bugs.winehq.org/attachment.cgi?id=74841 Volume label of a SD card is blank
Sorry posted the log on the wrong bug by mistake.