The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: gnu.emacs.bug
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sun, 14 Oct 2012 13:40:52 -0700
Local: Sun, Oct 14 2012 4:40 pm
Subject: bug#12632: file permissions checking mishandled when setuid
On 10/14/2012 01:17 PM, Eli Zaretskii wrote:
> If euidaccess always agrees with stat, why does it make sense to
euidaccess always agrees with 'stat' with respect to access checks,
> switch check_existing to using euidaccess but there are other reasons that 'stat' could fail, e.g., on a file that is too large for 'stat' to represent the size. In cases such as these, we want euidaccess here, because euidaccess shouldn't fail for these other reasons. > You are talking about the directories leading to the file. I was
OK, but in this context it doesn't make sense to talk about just
> talking about the file itself. the file itself, since the file is being accessed via a name, and one needs proper permissions to use the name. For both access and euidaccess, the F_OK check means "I don't
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||