Page 1 of 1

FSCTL_GET_EXTERNAL_BACKING isn't supported in constrained Azure environments

Posted: Mon Feb 04, 2019 5:58 am
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.

Re: FSCTL_GET_EXTERNAL_BACKING isn't supported in constrained Azure environments

Posted: Sat Feb 09, 2019 9:17 pm
by synchronicity
Just to double check, do you get that error even when wimlib-imagex is run with Administrator rights?