HTMLDocument Save AccessDenied Exception on MacOS

Hello,

Using Aspose.HTML 25.4 on MacOS 15

HTMLDocument.Save command throw an access denied exception on MacOS whatever the target directory.

       using var htmlDocument = new HTMLDocument(targetFile);

       var head = htmlDocument.QuerySelector("head");
       if (head == null)
           return;

       AddOrUpdateMetaElement(htmlDocument, head, "Creator", "John DOE");

       htmlDocument.Save(targetFile);

@tfipsrd

Can you please share complete error message and stack trace information for our reference as well? We will further proceed accordingly.

Here is the stack trace.
stack.docx (16.9 KB)

@tfipsrd

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLNET-6385

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@tfipsrd

We investigated this issue, and it appears that there are no sufficient source data to reproduce the problem.

1st, the provided stack shows that the source document the described problem happened on obviously isn’t an arbitrary HTML file, it contains some external resources. The exception is thrown on processing (saving) a resource file that may be locked by opening it to load the source document as HTMLDocument. To reproduce it surely and then investigate, we need the concrete source file, but it wasn’t provided in the task, only a stack trace.
Could you please upload it (if it doesn’t contain any confidential data)?

Also, we’d like to have a code of AddOrUpdateMetaElement method that is called in the provided code snippet (though it’s barely a source of this problem).