Subject: Re: man pages again
To: matthew green <mrg@eterna.com.au>
From: Julian Bean <jules@mailbox.co.uk>
List: current-users
Date: 03/10/1996 12:56:25
At 11:08 pm 10/3/96, matthew green wrote:
>why restrict this to root ? shouldn't it work for anyone who
>had write perms on /usr/share/man/cat? ?
The simple answer is I was being lazy. I check my /usr/share/man, found
that write permissions were only given to root, and thought that a
geteguid()==0 check was easier to write than a writable check ;-) Feel
free to change it, of course...
Jules
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@mailbox.co.uk | 6 Evelyn Road |
| Jules aka | | Richmond, Surrey |
| Julian Bean |(jelibean@jmlbhome.demon.co.uk)| TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| The Other Place - n. (pop.) Depending on the affiliation of the |
| speaker, one of Oxford, Cambridge, The House of Lords, The House of |
| Commons, Hell. Draw your own conclusions. |
\----------------------------------------------------------------------/