Date: Mon, 31 May 1999 08:11:29 -0400 From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> To: David Dawes <dawes@rf900.physics.usyd.edu.au> Cc: Bruce Evans <bde@zeta.org.au>, aron@cs.rice.edu, freebsd-bugs@freebsd.org Subject: Re: kern/11915: access system call says file is readable when its not Message-ID: <19990531081129.C10973@mad> In-Reply-To: <19990531154346.K24275@rf900.physics.usyd.edu.au>; from David Dawes on Mon, May 31, 1999 at 03:43:46PM %2B1000 References: <199905310517.PAA01594@godzilla.zeta.org.au> <19990531154346.K24275@rf900.physics.usyd.edu.au>
index | next in thread | previous in thread | raw e-mail
On Mon, May 31, 1999 at 03:43:46PM +1000, David Dawes wrote:
>
> It could perhaps be argued that the access(2) call be removed, but xterm
> demonstrates that it doesn't have to be a problem (when saved uids are
Or it can be used for cosmetic purposes. Eg.
if (access()) print ("hey dude, I'm probably going to overwrite your
file now");
overwrite(file);
No needs for access(2) to be removed... Not so long as puts() is in
the c lib, anyways. :-)
--
This is my .signature which gets appended to the end of my messages.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990531081129.C10973>
