Skip to content

Handle EPERM when the app scans a macOS-protected folder #342

Open

Description

@jtklein-agents

Upstream reports (2): 305, 411

Two upstream reports on macOS: EPERM: operation not permitted, scandir '<folder>', once for a Box cloud-storage folder under ~/Library/CloudStorage, once for a folder on the Desktop. macOS denies folder listing until the user grants the app access.

The app lists the output folder in several places without handling this (src/main/startRun.ts:193, :204, :229, src/main/checkOutput.ts:37). Which call threw is not known from the reports.

Acceptance

  • A folder the app may not read gives a user-fix dialog that names the folder and says to grant access in System Settings or pick another folder.
  • No Report to GitHub button for this case.

Source: issues filed through the in-app "Report to GitHub" button on the upstream tracker. Read one with gh issue view <n> --repo AntonelliLab/raxmlGUI. Upstream numbers are in code spans on purpose, so this ticket does not post a back-reference on each upstream issue. Not reproduced on this fork unless stated above.

Activity

  1. added
    bug
    needs-triage
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions