spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.92k stars 510 forks source link

bad file descriptor with CacheOnReadFs #390

Open karakanb opened 1 year ago

karakanb commented 1 year ago

Hi, here's the reproduction of the issue: https://go.dev/play/p/Kl7rlp4q_ZO

basically when using CacheOnReadFs with any base layer it fails with "bad file descriptor" error.