Messages in this thread | | | Date | Sun, 08 Feb 1998 23:06:11 +0100 | Subject | Re: access() system call | From | Henrik Nordstrom <> |
| |
Pawel S. Veselov wrote: > > Hello, All ! > > I found strange behavior for access() system call : ... > I chmod() but can't access r/w /vmlinux ( I am real root at this ) > > Any suggestions ?
RTFM ;-)
From access(2) man page:
The check is done with the process's real uid and gid, rather than with the effective ids as is done when actu- ally attempting an operation. This is to allow set-UID programs to easily determine the invoking user's author- ity.
--- Henrik Nordström - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |