发布

  • 17941 cd52034ddf

    Skip object store folder creation when no storage access (#9634)

    frostbyte_neo 发布于 2026-07-23 18:59:55 +00:00 | 9 次提交 在此版本后已推送到 master

    LocalObjectStore.Initialize created the storage root directory
    unconditionally, before Controls were even assigned. On environments
    where the process lacks permission to the target path this threw an
    UnauthorizedAccessException even for jobs with no storage access at all.

    Now Controls are assigned first and the root directory is only created
    when StorageAccess is null or grants at least one of read/write/delete,
    matching the permission checks already guarding every disk operation.
    When access is fully denied the path is still normalized via
    Path.GetFullPath so later comparisons remain consistent.

    Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

    下载附件