Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 1997 16:24:21 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        hackers@FreeBSD.ORG
Subject:   Re: How useful is this patch?
Message-ID:  <19971109162421.IH64390@uriah.heep.sax.de>
In-Reply-To: <199711090436.UAA26951@freefall.freebsd.org>; from Julian Elischer on Nov 8, 1997 20:36:20 -0800
References:  <199711090436.UAA26951@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
As Julian Elischer wrote:

> if a mount option is specified, then setting the SUID bit
> on a directory specifies similar inheritance with UIDS as we 
> presently have with GIDs.

As long as it's a mount option (defaulting to off), i think i could
live with it.

> The SUID bits are hereditary to child directories, and
> a file 'given away' in this manner 
>   1/ cannot be give n to root (would defeat quotas)
>   2/ has the execute bits stripped off (and suid)

Problem: you can cause someone else a DoS attack by maliciously
filling his home directory.

(I didn't review the patch itself, so i explicitly don't comment on
stylistic etc. bugs.  Make sure the style adhers to the requirements
of style(9).)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971109162421.IH64390>