Skip to content

Do not treat symlinks as files#530

Open
achamo wants to merge 2 commits intoupserve:masterfrom
achamo:master
Open

Do not treat symlinks as files#530
achamo wants to merge 2 commits intoupserve:masterfrom
achamo:master

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