The executable in question is a C program whos file
permissions are 4755 and the file belongs to root so all files
it opens are also owned by root and that works properly, but
what I need is for this application to first open a few files owned by
the caller and then later, upgrade back to
From: Martin McCormick mar...@dc.cis.okstate.edu
To: FreeBSD Questions freebsd-questions@freebsd.org
Subject: Setuid binaries and File Ownerships in FreeBSD9.0
Date: Wed, 23 Jan 2013 14:26:16 -0600
[[.. sneck ..]]
When the application first runs, it gets the UID and GID
jb writes:
Get familiar with this document:
http://www.cs.berkeley.edu/~daw/papers/setuid-usenix02.pdf
Then verify its validity on your target and current OS.
Thank you. I had read the man page several times and like most
man pages, it is a summary and one can miss some of the finer
points
On 01/23/2013 02:26 PM, Martin McCormick wrote:
The executable in question is a C program whos file
permissions are 4755 and the file belongs to root so all files
it opens are also owned by root and that works properly, but
what I need is for this application to first open a few files