From owner-freebsd-hackers Sun Aug 29 21:57:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from poboxer.pobox.com (ferg5200-2-83.cpinternet.com [208.149.16.83]) by hub.freebsd.org (Postfix) with ESMTP id B809A15124 for ; Sun, 29 Aug 1999 21:57:31 -0700 (PDT) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id XAA60680; Sun, 29 Aug 1999 23:56:39 -0500 (CDT) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 29 Aug 1999 23:56:38 -0500 (CDT) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: hackers@freebsd.org Subject: Re: [mount.c]: Option "user"-patch X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14282.3422.898997.412714@avalon.east> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > vs> I whacked mount and umount into shape for using an option "user" in > [snip] > vs> http://www-i2.informatik.rwth-aachen.de/~stolz/mount.diff > vs> http://www-i2.informatik.rwth-aachen.de/~stolz/umount.diff. > You can allow non-root users to mount and unmount devices if > the sysctl variable "vfs.usermount" is set to "1". The Linux 'user' option has the distinct advantage that it allows the administrator to specify which filesystems can be mounted by users. IIRC, Linux also permits the administrator to discriminate two variants: One in which an arbitrary user may mount and an (independently) arbitrary user may subsequently unmount, and a second in which an arbitrary user may mount, and only that same user (or root) may subsequently unmount, a specific given filesystem. It's good to have this kind of control. vfs.usermount does not directly support this control. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message