FSCTL_GET_EXTERNAL_BACKING isn't supported in constrained Azure environments

Comments, questions, bug reports, etc.
Post Reply
WithinRafael
Posts: 3
Joined: Mon Feb 04, 2019 5:53 am

FSCTL_GET_EXTERNAL_BACKING isn't supported in constrained Azure environments

Post by WithinRafael »

Suggest an additional check for STATUS_ACCESS_DENIED to set ctx->wof_not_attached = true; similar to a change back in 2016:
https://wimlib.net/git/?p=wimlib;a=blob ... 34728515f9

This will allow for execution in constrained environments (e.g. Azure App Services).

Current output from wimlib 1.13.0 (imagex tool):

Code: Select all

[ERROR] "...redacted...\$filehashes$.dat": FSCTL_GET_EXTERNAL_BACKING failed (status=c0000022): {Access Denied}

A process has requested access to an object, but has not been granted those access rights
ERROR: Exiting with error code 63:
       Could not read the metadata for a file or directory.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: FSCTL_GET_EXTERNAL_BACKING isn't supported in constrained Azure environments

Post by synchronicity »

Just to double check, do you get that error even when wimlib-imagex is run with Administrator rights?
Post Reply