mirror of https://github.com/raandree/NTFSSecurity
Browse Source
The cmdlet read the item again for -PassThru inside the try block that retries a denied write as the owner (R5 of the review of #113). A read that was denied after a successful write therefore started another attempt of the write and ended in a WriteSdError, and a write that needed the ownership retry wrote no object at all. The read now follows the write and its retry, and a failed read is a ReadSecurityError. The page also says what happens when setting the previous owner back fails. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>ai/release-5.0.0-rc6
5 changed files with 67 additions and 9 deletions
Loading…
Reference in new issue