Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When agent edits executable, file is no longer executable #4254

Closed
2 tasks done
rbren opened this issue Oct 7, 2024 · 8 comments
Closed
2 tasks done

[Bug]: When agent edits executable, file is no longer executable #4254

rbren opened this issue Oct 7, 2024 · 8 comments
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands Stale Inactive for 30 days

Comments

@rbren
Copy link
Collaborator

rbren commented Oct 7, 2024

Is there an existing issue for the same bug?

Describe the bug

When the agent edits a file like test.sh, which is executable, the resulting file is often no longer executable

The editing occurs in openhands/runtime/plugins/agent_skills/file_ops/file_ops.py

Current OpenHands version

0.9

Installation and Configuration

`docker run` from the readme

Model and Agent

CodeAct, Claude

Operating System

OSX

Reproduction Steps

  • Start a repo with test.sh
  • make it executable
  • ask the agent to change it
  • file is no longer executable (so long as the agent doesn't figure this out and chmod it again)

Logs, Errors, Screenshots, and Additional Context

No response

@rbren rbren added the bug Something isn't working label Oct 7, 2024
@neubig neubig added the fix-me Attempt to fix this issue with OpenHands label Oct 7, 2024
Copy link
Contributor

github-actions bot commented Oct 7, 2024

OpenHands started fixing the issue! You can monitor the progress here.

@neubig neubig added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

OpenHands started fixing the issue! You can monitor the progress here.

@neubig neubig added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

OpenHands started fixing the issue! You can monitor the progress here.

@neubig neubig added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

OpenHands started fixing the issue! You can monitor the progress here.

@neubig neubig added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Oct 11, 2024
Copy link
Contributor

OpenHands started fixing the issue! You can monitor the progress here.

Copy link
Contributor

An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-4254' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Nov 12, 2024
Copy link
Contributor

This issue was closed because it has been stalled for over 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands Stale Inactive for 30 days
Projects
None yet
Development

No branches or pull requests

2 participants