develooper Front page | perl.perl5.porters | Postings from June 2019

Re: [perl #133754] Test failures on Windows with 8.3 filenamesdisabled

Thread Previous | Thread Next
Richard Leach
June 9, 2019 22:04
Re: [perl #133754] Test failures on Windows with 8.3 filenamesdisabled
Message ID:
On Fri, May 31, 2019 at 8:48 PM Steve Hay via RT
<> 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

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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About