From owner-freebsd-bugs Mon May 31 5:14:10 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id E4CF2153E7 for ; Mon, 31 May 1999 05:14:07 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from localhost.nowhere (ppp18413.on.bellglobal.com [206.172.130.93]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id IAA15590; Mon, 31 May 1999 08:14:54 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id IAA11224; Mon, 31 May 1999 08:11:29 -0400 (EDT) (envelope-from tim) Date: Mon, 31 May 1999 08:11:29 -0400 From: Tim Vanderhoek To: David Dawes Cc: Bruce Evans , 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> References: <199905310517.PAA01594@godzilla.zeta.org.au> <19990531154346.K24275@rf900.physics.usyd.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990531154346.K24275@rf900.physics.usyd.edu.au>; from David Dawes on Mon, May 31, 1999 at 03:43:46PM +1000 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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