Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 1998 20:52:58 -0700
From:      John Polstra <jdp@polstra.com>
To:        evanc@synapse.net
Cc:        stable@FreeBSD.ORG
Subject:   Re: setuid on directory
Message-ID:  <199806120352.UAA07626@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
Oops.  I wrote:

> 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. :-)

I was wrong.  It seems the "suiddir" option does exist after all.  I
don't know whether it works or not.
--
   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?199806120352.UAA07626>