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

Include lifecycle dir in tar header #870

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

addreas
Copy link
Contributor

@addreas addreas commented Oct 24, 2021

Hit an issue where /cnb/lifecycle/launcher was hitting "permission denied" errors, and eventually tried this to see if it was a possible cause. My guess is that different container runtime implementations or perhaps file system drivers handle the omitted header entry for the directory differently.

I'm running CRI-O on btrfs which I wouldn't expect to be the most common, so it would be unlikely to run in to this.

@sambhav
Copy link
Contributor

sambhav commented Oct 25, 2021

@addreas Thanks for the fix!

@matthewmcnew this sounds similar to the bug I was talking about last week.

@codecov-commenter
Copy link

Codecov Report

Merging #870 (f6cc271) into main (6bd6f31) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #870   +/-   ##
=======================================
  Coverage   67.36%   67.36%           
=======================================
  Files         115      115           
  Lines        5222     5222           
=======================================
  Hits         3518     3518           
  Misses       1341     1341           
  Partials      363      363           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bd6f31...f6cc271. Read the comment docs.

@tomkennedy513 tomkennedy513 merged commit 90fe84d into buildpacks-community:main Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants