Rex hangs when trying to modify file without proper permission (macos)
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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