On Fri, May 31, 2019 at 8:48 PM Steve Hay via RT <perlbug-followup@perl.org> wrote: > (3) would be useful to decide which test to perform in GetShortPathName.t (i.e. do the current test if 8.3 is supported, change to the simplified test in wchristian's patch if not). > (2) would be needed for the other failing tests if 8.3 is not supported (or perhaps conditionally change the test being done, like in (1), rather than skipping completely?). > (1) has a useful documentation update that ought to go in either way. Unsatisfactory results here. I've got XS code that allows elevated users to create a handle to (e.g.) \\.\c: and pass that handle DeviceIoControl() in order to retrieve FILE_FS_PERSISTENT_VOLUME_INFORMATION. Doesn't work for non-elevated users though. Via WinObj, EVERYONE has: * the QUERY STATE permissions on (e.g.) the C: symbolic link. * READ permissions on the \Device\HarddiskVolume{X} object But although that seems like it should be sufficient, it isn't, and normal users can't create the necessary handle. I'll play a little more, but it's looking like this won't be a viable approach. --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=133754Thread Previous | Thread Next