This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eaccess question


On Mon, 2007-01-08 at 15:49 -0800, Roland McGrath wrote:
> > Is my understanding of eaccess ('do the same check as access but against
> > euid/egid') wrong ? What is the exact intent of eaccess ? Jim Meyering
> > pointed out that the eaccess implementation falls back to access if the
> > process is run as root when _LIBC is defined (in
> > libc/sysdeps/posix/euidaccess.c) which clearly does not mesh with my use
> > of it.
> 
> Your description of the intent is correct.  The code is clearly wrong in
> cases where your program uses setuid et al.  Please file a bug.

Thanks for the quick reply. Filed as
http://sourceware.org/bugzilla/show_bug.cgi?id=3846

David



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]