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

Allow moving file to a destination without write permissions #71

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

yahavi
Copy link
Member

@yahavi yahavi commented Jul 18, 2024

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.
  • I labeled this pull request with one of the following: 'breaking change', 'new feature', 'bug', or 'ignore for release'

This pull request addresses the following issue:
When a file is copied from A to B, and B is an existing file without write permissions, the operation fails. This pull request resolves the issue by adding read-write permissions to the destination file if opening it for writing fails.

Copy link

👍 Frogbot scanned this pull request and did not find any new security issues.


@yahavi yahavi merged commit d7b53f2 into jfrog:dev Jul 18, 2024
7 checks passed
@yahavi yahavi deleted the move-perm branch July 18, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants