Subject: Re: kern/4662: chown(2) removes SUID/SGID bits
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 12/10/1997 19:25:25
On Wed, 10 Dec 1997, Jason Thorpe wrote:
: > A sysctl for making root access preserve set-id bits in chown (as non-root
: > requires the above behavior as per POSIX and cannot be changed).
: >
: > In addition, as a sidelong addition, the ability to turn
: > _POSIX_CHOWN_RESTRICTED off via a sysctl. :)
:
: I don't like this... all NetBSD systems should be self-consistent in
: this behavior.
Which, the first or the second? The first, okay, I can concede, but the
second is a system-settable option on Solaris (and some other SVR4
derivatives), so why would it _need_ consistency? In some environments,
giving away file ownership without root is a useful thing. :)
=====
== Todd Vierling (Personal tv@pobox.com; Business tv@lucent.com)
== Vierling's Axiom: The revolution won't be televised; it will be posted.