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

v0.24.0: COPY of a dir applies permissions from local machine into image? Builds w/ docker does not #1351

Open
bitsofinfo opened this issue Jul 16, 2020 · 3 comments

Comments

@bitsofinfo
Copy link

bitsofinfo commented Jul 16, 2020

Kaniko: debug-v0.24.0

Docker: 19.03.8 on a mac

I have a directory that exists with specific permissions prior to a COPY statement.

After the COPY statement the permissions change when the build is done w/ kaniko.

When I build with docker this does not happen.

Note the directory which is the target of the COPY is accessed via a symlink, may or may not be related

Full issue is produced here:

https://github.com/bitsofinfo/kaniko-issue-a

@bitsofinfo bitsofinfo changed the title v0.24.0: COPY of a dir applies permissions from local machine into image when target under symlink? Builds w/ docker does not v0.24.0: COPY of a dir applies permissions from local machine into image? Builds w/ docker does not Jul 16, 2020
@bmudda
Copy link

bmudda commented Aug 13, 2020

This issue is reproducible in our environment as well. We have to change permission again after performing the copy.

@bitsofinfo
Copy link
Author

bitsofinfo commented Aug 28, 2020

#1369 #1352 #1382 #1370

@aaron-prindle
Copy link
Collaborator

Dupe of #1921, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants