carvel-dev / carvel-dev/imgpkg

[windows] imgpkg does not retain file permissions

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
bug carvel accepted priority/important-soon
Dominant language
Go
Stars
284
Forks
70
PR merge metrics
No merged PRs in 30d

Description

**What steps did you take:**
On Windows
```
git clone https://github.com/vmware-tanzu/carvel-imgpkg
cd carvel-imgpkg
imgpkg push -f ./test/assets/bundle_file_permissions -b some-image
imgpkg pull -b some-image -o ./extract-bundle
```

Expected ./extract-bundle/exec_file.sh
to have permissions: `-rwx------`
actual : `-rw-rw-rw-`

**What happened:**
None of the file permissions were retained

**What did you expect:**
file permissions to stay the same

**Environment:**

- imgpkg version (use `imgpkg --version`):
- Docker registry used (e.g. `Docker HUB`):
- OS (e.g. from `/etc/os-release`): Windows 10

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.