Path: utzoo!bnr-vpa!bnr-fos!bmers58!davem
From: davem@bmers58.UUCP (Dave Mielke)
Newsgroups: comp.unix.wizards
Subject: Re: Real and effective userids.
Message-ID: <291@bmers58.UUCP>
Date: 2 Oct 89 18:26:53 GMT
References: <288@bmers58.UUCP> <2204@hydra.gatech.EDU> <1219@virtech.UUCP>
Reply-To: davem@bmers58.UUCP (Dave Mielke)
Organization: Bell-Northern Research, Ottawa, Canada
Lines: 7

In article <1219@virtech.UUCP> cpcahil@virtech.UUCP (Conor P. Cahill) writes:
>The real userid is the numerical id of "the user"
>that is running a process, as opposed to "the effective" id of the process
>that is used to determine whether you can open, create, unlink, etc. a file.
This is intuitively the way things should work, but when I open a file
from within a setuid program it appears to enforce the access rights of
the real userid and not those of the effective userid. Why is this?