From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 15 18:10:13 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8115C16A412 for ; Sat, 15 Apr 2006 18:10:13 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91CCA43D7B for ; Sat, 15 Apr 2006 18:10:01 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.6/8.13.6) with ESMTP id k3FIAdCE096618; Sat, 15 Apr 2006 14:10:42 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Matthew Seaman In-Reply-To: <4440C749.1040702@infracaninophile.co.uk> References: <1145077545.83050.15.camel@shumai.marcuscom.com> <4440C749.1040702@infracaninophile.co.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PJe8sJBT6m5pOLAoPqxk" Organization: FreeBSD, Inc. Date: Sat, 15 Apr 2006 14:09:57 -0400 Message-Id: <1145124597.43095.7.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: hackers@FreeBSD.org Subject: Re: User mounting take 2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 18:10:13 -0000 --=-PJe8sJBT6m5pOLAoPqxk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2006-04-15 at 11:13 +0100, Matthew Seaman wrote: > Joe Marcus Clarke wrote: > >=20 > > //%u@server/homes /home/%u/smb_home smbfs rw,noauto,user 0 = 0 > >=20 > > Then, a user could just run, for example: > >=20 > > mount /home/marcus/smb_home > >=20 > > And their SMB home directory would get mounted (~/.nsmbrc is also > > respected). >=20 > Nice. Very nice. A couple of questions though: >=20 > What happens if the 'noauto' flag is omitted? I thought about this for a while. I considered adding a "glob" flag similar to noauto that would have to be present in order to do wilcarding. I decided not to do it, and force all wilcarded entries to be noauto. > Or the 'user' flag? If the "user" flag is omitted, then users will not be able to mount those file systems. > Should %u > or wild cards work for root? Yes. > Should they work at boot time (ie. when > 'mount -a' is run)? At this point, no. Wildcard expansion will not be done for -a. Such mounts will fail. Joe=20 >=20 > Cheers, >=20 > Matthew >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-PJe8sJBT6m5pOLAoPqxk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEQTb1b2iPiv4Uz4cRAtVyAJsFrDo09G4U6htkgXb1sIGPkrTCQwCfarpH af0ZyJKSjq0Ju6Z7RzCigxQ= =JnTu -----END PGP SIGNATURE----- --=-PJe8sJBT6m5pOLAoPqxk--