RexOps / RexOps/Rex

Rex hangs when trying to modify file without proper permission (macos)

Open
#1,299 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
737
Forks
214
PR merge metrics
No merged PRs in 30d

Description

On macos, this task

task edit_file => sub {
  file "/Users/me/rex/test2/file",
    content => 'change me';
};

will hang if the local user does not have permission to edit the file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the macOS permission failure with the task edit_file example in the issue. Trace the file-edit operation from that entry point and determine how the permission error is handled; done means the task no longer hangs and reports or returns from the failure appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, perl
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.