Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 01:51:32 +0200 (CEST)
From:      Paul Herman <pherman@frenchfries.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        <freebsd-current@FreeBSD.ORG>
Subject:   Changing "df [device]" behaviour (Re: /bin/df set-gid operator)
Message-ID:  <Pine.BSF.4.33.0104220113470.88695-100000@husten.security.at12.de>
In-Reply-To: <Pine.BSF.4.21.0104220454040.4243-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Apr 2001, Bruce Evans wrote:

> In FreeBSD, mount privilege is controlled by the vfs.usermount
> sysctl (default: off), so df must still be setgid operator to work
> on devices.
>
> The mount() method is better because can work on work on all types
> of filesystems that the kernel understands, while ufs_df() only
> works for ufs.
>
> [patch]

Although I like the idea of being able to df unmounted, non-ufs
filesystems, I think the tradeoff might be too harsh.

Non-root users aren't allowed to mount(2) at all if vfs.usermount=0,
operator or no operator -- that is, in this case, df would fail for
non-root users.

-Paul.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104220113470.88695-100000>