Kafs 6.8.0-rc6 can't remove empty directory

markus.suvanto at gmail.com markus.suvanto at gmail.com
Thu Feb 29 23:38:28 PST 2024


Dear all

Using kafs 6.8.0-rc6 I ended in situation where
I can't remove empty directory using rm -rf 

Kafs:

masu at t470 build % rm -rf zephyr 
rm: cannot remove 'zephyr': File exists

masu at t470 build % ls -la zephyr 
total 6
drwxr-xr-x 2 masu users 4096 Mar  1 09:12 .
drwxr-xr-x 3 masu users 2048 Mar  1 09:13 ..


Using openafs:

masu at lab4 build % ls -al zephyr
total 1082
drwxr-xr-x 2 masu users    4096 Mar  1 09:12 .
drwxr-xr-x 3 masu users    2048 Mar  1 09:13 ..
-rw-r--r-- 1 masu users 1101824 Feb 28 16:12 .__afs0001

That hidden file prevents kafs to remove directory and I
have to remove that hidden file using openafs client to
recover.

masu at lab4 build % rm zephyr/.__afs0001 
masu at t470 build % rm -rf zephyr 

-Markus Suvanto



More information about the linux-afs mailing list