Azure / azure-storage-fuse

A virtual file system adapter for Azure Blob storage
Other
674 stars 209 forks source link

Delete empty directories from local cache #1524

Closed souravgupta-msft closed 2 weeks ago

souravgupta-msft commented 2 months ago

Renaming a directory does not delete it in the local cache. This causes rmdir operation failure of parent directory, as local cache is not empty. Steps to replicate this,

mkdir test && cd test

mkdir -p one/two \
&& touch one/two/a.txt \
&& mv one/two one/three \
&& touch one/three/a.txt

rm -rf *