man hint update

Thomas Schwinge thomas at schwinge.homeip.net
Sun Mar 10 12:44:19 PST 2002


Gerard Beekmans <gerard at linuxfromscratch.org> schrieb:
>TITLE:		The Man Hint
>[...]
>
>The alternate way is to create a user man, make the man program setuid man,
>and then give only user man write access to /var/cache/man/*.

This does not work for me:

root at server:~ # ls -dl /var/cache/man{,/*}
drwxrwx---   10 man      man          4096 12. Jan 23:16 /var/cache/man
drwxrwx---    2 man      man          4096 10. Mär 04:06 /var/cache/man/cat1
drwxrwx---    2 man      man          4096 12. Jan 23:15 /var/cache/man/cat2
drwxrwx---    2 man      man          4096  1. Feb 15:21 /var/cache/man/cat3
drwxrwx---    2 man      man          4096 12. Jan 23:15 /var/cache/man/cat4
drwxrwx---    2 man      man          4096  6. Mär 18:27 /var/cache/man/cat5
drwxrwx---    2 man      man          4096 12. Jan 23:16 /var/cache/man/cat6
drwxrwx---    2 man      man          4096 12. Jan 23:16 /var/cache/man/cat7
drwxrwx---    2 man      man          4096  8. Mär 20:55 /var/cache/man/cat8

root at speedy:/etc/init.d # ls -l /usr/bin/man
-rwsr-xr-x    1 man      man         36220 22. Jan 00:04 /usr/bin/man

And the as user thomas:

thomas at speedy:~ > man bash
man: No such file or directory
Failed to open the message catalog man on the path NLSPATH=<none>

Formatting page, please wait...
sh: /var/cache/man/cat1/bash.1.gz: Permission denied
Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 1100i"; /bin/gunzip -c '/usr/share/man/man1/bash.1.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | /usr/bin/nroff -mandoc | /bin/gzip > /var/cache/man/cat1/bash.1.gz) exited with status 1.

What's the problem here, any idea?

Thomas
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list