From owner-freebsd-questions@FreeBSD.ORG Fri May 6 08:41:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F114616A4CE for ; Fri, 6 May 2005 08:41:02 +0000 (GMT) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EBD643D75 for ; Fri, 6 May 2005 08:41:02 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id j468f02c004872; Fri, 6 May 2005 10:41:00 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 6FF7761F1; Fri, 6 May 2005 10:41:00 +0200 (CEST) Date: Fri, 6 May 2005 10:41:00 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050506084100.GA75487@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org, Emanuel Strobl References: <200505060941.56312@harrymail> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <200505060941.56312@harrymail> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: Emanuel Strobl Subject: Re: vfs.usermount and directory owner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 08:41:03 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 06, 2005 at 09:41:45AM +0200, Emanuel Strobl wrote: > Hello, >=20 > I want to be able to access my cd drive as normal user. As any user, not = a=20 > specific one. So it's a problem that I can't mount it to a general=20 > directory like /cdrom since only one user can be owner and it looks like= =20 > it's required that the mountpoint belongs to the user, even with=20 > vfs.usermount=3D1 set. If you set the setuid bit on /sbin/mount and /sbin/umount, you should be able to get around this limitation, I think. Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCey2cEnfvsMMhpyURAvdlAJ43ttoGFld7nkecVCzfcwec5bbo+wCfWpxA z+hFfU0uvifmrYsSxnQVTQs= =WcRF -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--