[GRASS5] html to man conversion
Eric G . Miller
egm2 at jps.net
Thu Nov 30 21:42:55 EST 2000
On Thu, Nov 30, 2000 at 06:39:02PM +0000, Michel Wurtz wrote:
> The `chown' line works only if root runs make. The problem is
> that the index is made by a program suid man, so if the user "man"
> cannot write in the man directory, you get an error message each
> time g.html2man runs ! On the other hand a "normal" user cannot
> give the directory to man (or cannot write man pages after that)
Unset that suid bit instead. Is there some reason the man
command is suid?
> A better idea is to say "chmod a+w $(MANDIR)", and to restore
> the read-only flag after all pages are created (for security
> reasons). Sorry, I have no time (and no network) until next week
> to do that ! but it's straightforward ;-)
If there's a way to generate the man pages inside of the source tree,
including the index, and then "install" them into the man/man1
destination, I think that would be better/safer. Don't know if index.bt
needs the full path or just relative would do? I looked around at my
system man dirs, and other than this new grass one, there doesn't seem
to be any kind of index for man pages (there is a cache in
/var/cache/man). So, is the index really necessary? I have close to no
clue about the variants of man programs...
--
Eric G. Miller <egm2 at jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list