bug-guile
[Top][All Lists]
Advanced

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

Re: [PATCH] Small fixes in doc/ref/srfi-modules.texi; a couple other que


From: Paul Jarc
Subject: Re: [PATCH] Small fixes in doc/ref/srfi-modules.texi; a couple other questions
Date: Mon, 05 May 2003 11:56:14 -0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Stephen Compall <address@hidden> wrote:
> But since the ruid == euid etc. in non-set?id programs, I don't see
> the problem at first glance (though it could conceivably cause
> problems in set?id programs :).

access() is merely a waste of time in non-set?id programs.  They can
just do whatever they want to do without explicitly checking for
permission first; if there's a permission problem, the operation will
simply fail.  set?id programs should use access() because they have
more permissions than they sometimes want to use; the operation might
succeed when it ought to fail.


paul




reply via email to

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