[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-exists? using stat

From: Kevin Ryde
Subject: Re: file-exists? using stat
Date: Tue, 16 Sep 2003 06:41:55 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Dirk Herrmann <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]