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

Do not treat symlinks as files #530

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

achamo
Copy link

@achamo achamo commented Jul 24, 2018

  • File.stat returns the stat of the target
  • Symlink are ignored and replaced with files
  • If the target is absent File.stat will raise and we can't build the image
  • Using lstat and add_symlink adds symlinks to the tar archive

Change-Id: If36368071a4373b12836dd00210d12e988cae819

achamo added 2 commits July 24, 2018 16:55
* File.stat returns the stat of the target
* Symlink are ignored and replaced with files
* If the target is absent File.stat will raise and we can't build the image
* Using lstat and add_symlink adds symlinks to the tar archive

Change-Id: If36368071a4373b12836dd00210d12e988cae819
Change-Id: I1be5aa7b47f9c117944851e3bd1a83e054e2ea5e
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.

1 participant