stacks-network / stacks-network/hacknet
todo: preserve file permissions with rootless containers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
--same-ownerisn’t used on macOS because the system tar there is BSD tar, not GNU tar. BSD tar doesn’t support the--same-ownerflag, and would error out if we passed it. On macOS, ownership-preservation behavior is handled automatically when running under sudo, so the extra flag isn’t needed.BSD tar reference as used for mac os instead of GNU
BSD tar docs reference for owner
Originally posted by @ASuciuX in #29
Contributor guide
No contributing guide indexed for this repository
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 locating the tar invocation used for rootless containers in the TypeScript repository and compare its macOS handling with the referenced BSD tar behavior. Done means file permissions are preserved without passing unsupported --same-owner to macOS tar. No file or test is named, so tracing the existing container/archive path is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100