oasisprotocol / oasisprotocol/cli

`rofl build`: Creates root only orc file

Open
#457 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

oasis rofl build creates ROFL.default.orc with permissions 0600 (rw‑‑‑‑‑‑‑), making it unreadable to non‑root users. Therefore running oasis rofl deploy by the same non‑root user fails with “permission denied.” Manually chmod‑ing the file to 0644 resolves the issue.

My environment is a github codespace running Ubuntu 20.04.6 LTS.

Contributor guide

No contributing guide indexed for this repository

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 oasis rofl build in the reported Ubuntu 20.04.6 environment and inspect the resulting ROFL.default.orc permissions. Then run oasis rofl deploy as a non-root user. Done means the build output is readable by the user who runs deploy and deployment no longer fails with permission denied.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.