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

Linux binary archive changes destination owner when extracted #300

Open
ilkka opened this issue Apr 2, 2024 · 0 comments
Open

Linux binary archive changes destination owner when extracted #300

ilkka opened this issue Apr 2, 2024 · 0 comments
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)

Comments

@ilkka
Copy link

ilkka commented Apr 2, 2024

Describe the bug
The tarball contains an entry for .. When sudo extracted to e.g. opt, it changes ownership of opt to 1001:docker and permissions to 0700, presumably matching tmpDirPath in createBinaryArchives.py.

Steps to reproduce
Steps to reproduce the behavior:

  1. Download the Linux binary archive
  2. Extract it with sudo into /opt
  3. Observe that ownership of /opt has changed

Expected behavior
Ownership should not change.

@ilkka ilkka added 1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label) labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)
Projects
None yet
Development

No branches or pull requests

1 participant