appc/spec
View on GitHubactool build: Error walking rootfs: archive/tar: write too long
Open
#503 opened on Sep 25, 2015
area/usabilitycomponent/toolinghelp wantedkind/bug
Repository metrics
- Stars
- (1,253 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
If you try to output your aci into the input directory you get a very esoteric error message:
$ actool build /tmp/build-dir-wtZCZk /tmp/build-dir-wtZCZk/my-code-1.0-linux-amd64.aci
build: Error walking rootfs: archive/tar: write too long
Took me a good 20 minutes to figure out the problem goes away if I write my aci to a different directory.
Note that tar doesn't suffer from this problem because it collects the file list before creating the output file.
$ go version
go version go1.4.1 linux/amd64