error with man

Karthik Vishwanath karthik at northstar.dartmouth.edu
Mon Feb 24 00:03:52 EST 2003


its gunzip. The /etc/man.config had a line that read: 

.gz            /usr/bin/gunzip -c
changing that to 
.gz            /bin/gunzip -c, 
solved the error. /usr/bin/gunzip was a bash script, while /bin/gunzip was
an executable. Why does this distinction exist? 

Thanks for your help!

-K

On Sun, 23 Feb 2003, Derek Martin wrote:

> Could be lots of things.  What are the permissions on /usr/bin/gunzip?
> Does the program even exist?  (If, for example, you unzipped using
> gzip -d, the gunzip program might still be missing or have bad
> permissions.  The gunzip "program" is usually just a symlink.)

> gunzip may be trying to create a temporary file, but not have
> permissions on /tmp.  Or, if you have $TMPDIR set, you may not have
> permissions on whatever that is set to.  I suspect the most likely
> problem is of this sort -- a problem with temp files.
> 
> Are any of your filesystems NFS mounted?  On some systems, the man
> command is SUID or SGID to handle saving formatted versions of man
> pages in system directories.  There could be a problem with UID
> mapping, if some of the filesystems involved are NFS mounts.
> 
> Also, some filesystem may be mounted read-only.
> 
> And there's probably lots more potential problems.
> 
> - -- 
> Derek D. Martin
> http://www.pizzashack.org/
> GPG Key ID: 0xDFBEAD02
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+WaRNHEnASN++rQIRAtcCAJ45Efj3TPU1Ootb3fp/ERdjUSuBsgCgpNHf
> 6I8is3GuRSFBgAW2D2id8nA=
> =gEz4
> -----END PGP SIGNATURE-----
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
> 




More information about the gnhlug-discuss mailing list