Hi Stephane,

> After launched makewhatis, the result:
> $ makewhatis
> /usr/share/man//mandoc.db: Data changed, but cannot replace database
> 
> What to do?

You need to run makewhatis(8) as root because relevant files and
directories typically have these permissions:

   $ cd /usr/share/man; ls -ld . mandoc.db
  drwxr-xr-x  12 root  wheel      512 Oct 22 19:21 .
  -rw-r--r--   1 root  wheel  2191096 Oct 22 19:21 mandoc.db

Yours,
  Ingo

Reply via email to