containerd/archive
Mikko Ylinen e2269f2ae0 archive: skip chmod IsNotExist error
handleLChmod() does not properly check that files behind the handlinks exist
before calling os.Chmod(). We've seen base images where this results in
"no such file or directory" error from os.Chmod() when unpacking the image.

To keep the existing logic but fix the problem, this commit simply skips
IsNotExist error.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-03-23 20:58:28 +02:00
..
compression fix wrong spells in compression.go 2019-07-29 12:47:17 +00:00
tartest Fix annotation typo error 2018-12-14 23:18:42 +08:00
issues_test.go Move testutils to pkg 2018-05-22 17:08:38 -04:00
strconv.go build: bump to Go 1.10 2018-02-26 16:47:24 -08:00
tar_linux_test.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
tar_opts_linux.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
tar_opts_windows.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
tar_opts.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
tar_test.go fix: linter issue 2019-01-23 22:54:51 +08:00
tar_unix.go archive: skip chmod IsNotExist error 2020-03-23 20:58:28 +02:00
tar_windows.go Support applying with parent directories 2019-08-16 15:49:47 -07:00
tar.go archive: truncate modification time 2019-08-27 17:42:32 -07:00
time_unix.go archive: return chtimes error with path information 2019-07-25 16:33:19 +08:00
time_windows.go Licence header added 2018-02-19 10:32:26 +09:00
time.go Licence header added 2018-02-19 10:32:26 +09:00