Must update directories' ctime and mtime fields when changing dirents
Closed this issue · 1 comments
asomers commented
A directory's ctime and mtime must change whenever a directory entry is changed, for example by creating or deleting files within that directory. fuse-ext2 doesn't currently do this. The problem can be demonstrated with pjdfstest.
git clone https://github.com/pjd/pjdfstest.git
cd pjdfstest
make
pkg install fusefs-ext2
sudo fuse-ext2 /dev/vtbd2 /mnt -o rw+ -o allow_other,default_permissions
sudo prove -rv tests/unlink/00.t
asomers commented
Actually, this was FreeBSD's fault. It was an attribute caching bug. Fixed in r347377.