Problem with creating docs with cabal-install-3.14.1.0

Thanks,

I had a problem with hackage docs with cabal-install 3.14.1.0.

If builddir argument is supplied without dot (mktemp returns such path on my system)
then the process stucks awaiting input form the user:

rm: remove write-protected regular file ‘dist-docs.TZVTX0/build/x86_64-linux/ghc-9.10.1/trace-if-0.0.2/doc/html/trace-if-0.0.2-docs/quick-jump.css’

What command did you run so someone else can reproduce this?