[WBEL-users] man doesnt work

Tsai Li Ming mailinglist@ltsai.com
Wed, 15 Sep 2004 09:18:36 +0800


hi bishop

there you go...

[root@ss-192-168-1-22 root]# set | grep MANP
[root@ss-192-168-1-22 root]# rpm -Vf /etc/man.config
[root@ss-192-168-1-22 root]# md5sum /etc/man.config
29a70993aa2f2d22ffbde8ca7739bbd1  /etc/man.config
[root@ss-192-168-1-22 root]# ls -ld /usr/share/man/man1/cp.1.gz 
/usr/share/man/man1 /usr/share/man /usr/share /usr
drwxr-xr-x   17 root     root         4096 Aug 12 16:59 /usr
drwxr-xr-x  209 root     root         4096 Aug 22 12:20 /usr/share
drwxr-xr-x   27 root     root         4096 Jun 28 10:35 /usr/share/man
dr--r--r--    2 root     root        36864 Sep 11 11:59 /usr/share/man/man1
-rw-r--r--    1 root     root         1959 Dec 12  2003 
/usr/share/man/man1/cp.1.gz

-Liming

bishop wrote:
> Li ming,
> 
> 'man cp' as a non-root user is working fine for me, but 'set' shows no 
> special setting for 'MANPATH'.  I'm thinking that something may have 
> gone moderately wrong with your set-up.
> 
> Let's compare:
> 
>> [steve@smog steve]$ set | grep MANP
> 
> (no output)
> 
>> [steve@smog steve]$ logout
>> [root@smog root]# rpm -Vf /etc/man.config
>> [root@smog root]# md5sum /etc/man.config
>> 29a70993aa2f2d22ffbde8ca7739bbd1  /etc/man.config
> 
> 
>> [root@smog root]# ls -ld /usr/share/man/man1/cp.1.gz 
>> /usr/share/man/man1 /usr/share/man /usr/share /usr
>> drwxr-xr-x   15 root     root         4096 Sep  6 17:07 /usr
>> drwxr-xr-x  139 root     root         4096 Sep  9 15:54 /usr/share
>> drwxr-xr-x   26 root     root         4096 Sep  6 17:09 /usr/share/man
>> drwxr-xr-x    2 root     root        24576 Sep  9 16:21 
>> /usr/share/man/man1
>> -rw-r--r--    1 root     root         1959 Dec 11  2003 
>> /usr/share/man/man1/cp.1.gz
> 
> 
> How does yours look?
> 
>  - bish
> 
> Tsai Li Ming wrote:
> 
>> I'm having problems using man as a non-root user. This used to work as 
>> per normal. I have tried setting MANPATH to /usr/share/man
>>
>> export MANPATH=/usr/share/man
>>
>> [liming@ss-192-168-1-22 liming]$ man cp
>> No manual entry for cp
>> [liming@ss-192-168-1-22 liming]$ su -
>> Password:
>> [root@ss-192-168-1-22 root]# man cp
>> [root@ss-192-168-1-22 root]#
>>
>> Thanks,
>> Liming
>>
>> _______________________________________________
>> Whitebox-users mailing list
>> Whitebox-users@beau.org
>> http://beau.org/mailman/listinfo/whitebox-users