[blfs-dev] No man pages at all

Bruce Dubbs bruce.dubbs at gmail.com
Sun Mar 2 09:35:25 PST 2014


Fernando de Oliveira wrote:
> That's it.
>
> $ man man
> No manual entry for man
>
> I have:
>
> ls -dl /usr/share/man/
> drwxrwxr-x 43 root root 4096 Fev 28 23:38 /usr/share/man/
>
> Have tried as I did when had similar problem in BLFS-7.5:
>
> chown -v 2775 /usr/share/man
>
> No modification, and reverted.
>
> I notice that at
>
> http://www.linuxfromscratch.org/lfs/view/7.5-rc1/chapter06/creatingdirs.html
>
> we have:
>
> mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
>
> so it should be as above.
>
> Have installed particular packages with directory as 2775, no success.
> Had some subdirectories of /usr/share/man as 2775, cannot remember which
> ones, changed all to 0775.

I think it's a local problem.  I have:

$ ll -d /usr/share/man
drwxr-xr-x 40 root root 4096 Feb 28 14:39 /usr/share/man

$ ll /usr/share/man
total 520
drwxr-xr-x 2 root root   4096 Feb 28 14:39 cat1
drwxr-xr-x 2 root root   4096 Feb 28 14:39 cat3
drwxr-xr-x 5 root root   4096 Feb 16 20:31 cs
drwxr-xr-x 5 root root   4096 Feb 16 20:31 da
drwxr-xr-x 6 root root   4096 Feb 16 20:31 de
drwxr-xr-x 5 root root   4096 Feb 16 22:14 es
drwxr-xr-x 3 root root   4096 Feb 16 20:31 fi
drwxr-xr-x 6 root root   4096 Feb 16 20:31 fr
drwxr-xr-x 3 root root   4096 Feb 16 22:16 fr.ISO8859-1
drwxr-xr-x 3 root root   4096 Feb 16 22:16 fr.UTF-8
drwxr-xr-x 5 root root   4096 Feb 16 20:31 hu
drwxr-xr-x 4 root root   4096 Feb 16 20:31 id
drwxr-xr-x 6 root root   4096 Feb 16 20:31 it
drwxr-xr-x 3 root root   4096 Feb 16 22:16 it.ISO8859-1
drwxr-xr-x 3 root root   4096 Feb 16 22:16 it.UTF-8
drwxr-xr-x 5 root root   4096 Feb 16 20:31 ja
drwxr-xr-x 5 root root   4096 Feb 16 20:31 ko
drwxr-xr-x 2 root root  36864 Mar  1 19:27 man1
drwxr-xr-x 2 root root  20480 Feb 19 21:28 man2
drwxr-xr-x 2 root root 299008 Feb 28 14:39 man3
drwxr-xr-x 2 root root   4096 Feb 22 19:04 man4
drwxr-xr-x 2 root root   4096 Mar  1 18:01 man5
drwxr-xr-x 2 root root   4096 Feb 16 17:39 man6
drwxr-xr-x 2 root root   4096 Feb 27 01:59 man7
drwxr-xr-x 2 root root  20480 Mar  1 18:01 man8
drwxr-xr-x 2 root root  12288 Feb 23 13:09 mann
drwxr-xr-x 6 root root   4096 Feb 16 20:31 pl
drwxr-xr-x 3 root root   4096 Feb 16 22:16 pl.ISO8859-2
drwxr-xr-x 3 root root   4096 Feb 16 22:16 pl.UTF-8
drwxr-xr-x 5 root root   4096 Feb 16 20:31 pt_BR
drwxr-xr-x 6 root root   4096 Feb 16 20:31 ru
drwxr-xr-x 3 root root   4096 Feb 16 22:16 ru.KOI8-R
drwxr-xr-x 3 root root   4096 Feb 16 22:16 ru.UTF-8
drwxr-xr-x 3 root root   4096 Feb 23 11:44 sr
drwxr-xr-x 6 root root   4096 Feb 16 20:31 sv
drwxr-xr-x 5 root root   4096 Feb 16 20:31 tr
drwxr-xr-x 6 root root   4096 Feb 16 20:31 zh_CN
drwxr-xr-x 5 root root   4096 Feb 16 20:31 zh_TW

There is no need to set directories as 2775 if the group is root, 
unless you are a member of the root group (not recommended).

   -- Bruce



More information about the blfs-dev mailing list