From owner-freebsd-questions@FreeBSD.ORG Sat Jul 3 21:38:35 2004 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 1FBA216A4CE for ; Sat, 3 Jul 2004 21:38:35 +0000 (GMT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8940F43D1D for ; Sat, 3 Jul 2004 21:38:34 +0000 (GMT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 8EB983F1E; Sat, 3 Jul 2004 23:38:32 +0200 (CEST) Date: Sat, 3 Jul 2004 23:38:32 +0200 From: Simon Barner To: jobse@yapost.com Message-ID: <20040703213832.GA4580@zi025.glhnet.mhn.de> References: <1088888955.680.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1088888955.680.15.camel@localhost.localdomain> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: allowing users to mount cdrom 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: Sat, 03 Jul 2004 21:38:35 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline jobse wrote: > Dear List, > When trying to mount the cdrom I get Operation not permitted. > sysctl: vfs.usermount=0(what does that mean and how can I *permanently* > change it to 1) It means, that users are not allowed to mount file systems. To change it, run (as root) # sysctl vfs.usermount=1 To make this permanent, add vfs.usermount=1 to /etc/sysctl.conf. Now, regular users are allowed to mount file systems on directories they own. > I'd rather not set the sticky bit on mount/umount if I mustn't. s/sticky/suid/ Simon --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5ydYCkn+/eutqCoRAkZPAKDkNulGVPax0tdfmsoMUdKsOwCrBACg2Irj QfMK78WxHdrsioAsE6B2gLk= =ilrh -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--