Bug: Permission denied on asset access #613

Open
opened 2023-12-13 12:56:48 +00:00 by RobinMaubert · 0 comments

Hello everyone, I am working on tea for the first time and observe the following:

describe your environment

  • tea version used (tea -v):
  • Gitea version used:
    • the issue only occurred after updating gitea recently
  • operating system: Linux Ubuntu 22.04 LTS
  • I make use of...
    • non-standard default branch names (no main,master, or trunk)
    • .ssh/config or .gitconfig host aliases in my git remotes
    • ssh_agent or similar
    • non-standard ports for gitea and/or ssh:: port 33989
    • something else that's likely to interact badly with tea: ...

describe the issue (observed vs expected behaviour)

In a git repository directory, trying to create a release with an asset:
gitea-tea.tea r c --tag 1.0.4 --target main --title "Test for release 1.0.4" --note "My first release" --asset release-zip.tar.xz -r myOrg/myRepo

Observed:
Error: open /home/robin/work/sandbox/release-zip.tar.xz: permission denied but the files has the following permissions: -rw-rw-rw-

Expected: No error occurs and asset is uploaded

Am I missing something ?

Thanks for your help

Hello everyone, I am working on tea for the first time and observe the following: ### describe your environment - tea version used (`tea -v`): - [x] I also reproduced the issue [with the latest master build](https://dl.gitea.com/tea/main/) - Gitea version used: - [ ] the issue only occurred after updating gitea recently - operating system: Linux Ubuntu 22.04 LTS - I make use of... - [ ] non-standard default branch names (no `main`,`master`, or `trunk`) - [ ] .ssh/config or .gitconfig host aliases in my git remotes - [ ] ssh_agent or similar - [x] non-standard ports for gitea and/or ssh:: port 33989 - [ ] something else that's likely to interact badly with tea: ... ### describe the issue (observed vs expected behaviour) In a git repository directory, trying to create a release with an asset: `gitea-tea.tea r c --tag 1.0.4 --target main --title "Test for release 1.0.4" --note "My first release" --asset release-zip.tar.xz -r myOrg/myRepo` Observed: `Error: open /home/robin/work/sandbox/release-zip.tar.xz: permission denied` but the files has the following permissions: -rw-rw-rw- Expected: No error occurs and asset is uploaded Am I missing something ? Thanks for your help
RobinMaubert added the
kind/bug
label 2023-12-13 12:56:48 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#613
No description provided.