From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: file-exists? using stat Date: Tue, 16 Sep 2003 06:41:55 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87ad95238s.fsf@zip.com.au> References: <878yoxtvmy.fsf@zip.com.au> <3F62B283.40508@dirk-herrmanns-seiten.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063658721 22108 80.91.224.253 (15 Sep 2003 20:45:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2003 20:45:21 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 15 22:45:19 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19z0Dn-0005GR-00 for ; Mon, 15 Sep 2003 22:45:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19z0B1-000376-SH for guile-devel@m.gmane.org; Mon, 15 Sep 2003 16:42:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19z0Au-000358-Bj for guile-devel@gnu.org; Mon, 15 Sep 2003 16:42:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19z0An-0002xo-FV for guile-devel@gnu.org; Mon, 15 Sep 2003 16:42:14 -0400 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.22) id 19z0Al-0002oN-GV for guile-devel@gnu.org; Mon, 15 Sep 2003 16:42:11 -0400 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h8FKg5Bt000676; Tue, 16 Sep 2003 06:42:05 +1000 Original-Received: from localhost (ppp69.dyn228.pacific.net.au [203.143.228.69]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h8FKe3xd011716; Tue, 16 Sep 2003 06:40:04 +1000 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19z0AX-0000yL-00; Tue, 16 Sep 2003 06:41:57 +1000 Original-To: Dirk Herrmann Mail-Copies-To: never In-Reply-To: <3F62B283.40508@dirk-herrmanns-seiten.de> (Dirk Herrmann's message of "Sat, 13 Sep 2003 08:00:35 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2800 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2800 Dirk Herrmann writes: > > + ;; Make sure to follow the effective UID/GID not the real ID, as it is > + ;; done by stat. file-exists? will normally be used as a prelude to > + ;; opening or some other operation, and it's the effective ID > which will > + ;; apply there. I guess I see access? as being just plain wrong, and that the gory details concerning this are best covered in the manual (see other message), since it's a general matter, applying to lots of places one might think of using it. I'll add to the code the note about what emacs does though. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel