containers / fuse-overlayfs

FUSE implementation for overlayfs
GNU General Public License v2.0
522 stars 84 forks source link

Whiteout directory not work. #425

Open pigfall opened 3 months ago

pigfall commented 3 months ago

Reproduce steps:

Result is as expected.

ls /tmp/reproduce/fuse-layers/merged/site-packages/setuptools > /dev/null

Result is wrong. Beacuse there is whiteout file in l1/site-package/setuptools/.wh..wh.opq, so we should only see the file depends.cpython-38.pyc from l1. But result is config.cpython-38.pyc depends.cpython-38.pyc which are from l0

ls /tmp/reproduce/fuse-layers/merged/site-packages/setuptools/pycache

echo '' echo 'Result is wrong. Beacuse there is whiteout file in l1/site-package/setuptools/.wh..wh.opq, so we should only see the file depends.cpython-38.pyc from l1. But result is config.cpython-38.pyc depends.cpython-38.pyc which are from l0'