Date: Thu, 11 Jun 1998 20:42:38 -0700 From: John Polstra <jdp@polstra.com> To: evanc@synapse.net Cc: stable@FreeBSD.ORG Subject: Re: setuid on directory Message-ID: <199806120342.UAA07562@austin.polstra.com> In-Reply-To: <004601bd9197$2666c340$c9252fce@cello.synapse.net> References: <004601bd9197$2666c340$c9252fce@cello.synapse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <004601bd9197$2666c340$c9252fce@cello.synapse.net>, Evan Champion <evanc@synapse.net> wrote: > The manpage for chmod(1) says that if one sets the setuid bit on a > directory, files created within that directory will be owned by the owner of > the directory and not the uid of the current process. I suppose that pedantically speaking the man page is correct, since it goes on to say "if the underlying file system supports this feature: see chmod(2) and the suiddir option to mount(1)." Of course, no filesystems support this feature, and the suiddir option to mount(1) doesn't exist, as far as I can tell. :-) But speaking as a Man Of Reason, I have to agree with you that this is bogus. > A similar idea goes for the setgid bit. Actually, I don't see anything along those lines in chmod(1). -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806120342.UAA07562>