From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 04:46:37 2003 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 5A46437B401 for ; Wed, 4 Jun 2003 04:46:37 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B477A43F3F for ; Wed, 4 Jun 2003 04:46:36 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by attbi.com (rwcrmhc51) with ESMTP id <2003060411463605100262a7e>; Wed, 4 Jun 2003 11:46:36 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h54BkZhR002806; Wed, 4 Jun 2003 07:46:35 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h54BkYY4002803; Wed, 4 Jun 2003 07:46:34 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Jon Reynolds References: <1054632364.1508.138.camel@localhost.localdomain> From: Lowell Gilbert Date: 04 Jun 2003 07:46:34 -0400 In-Reply-To: <1054632364.1508.138.camel@localhost.localdomain> Message-ID: <44wug2jc9x.fsf@be-well.ilk.org> Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Subject: Re: setting uid,gid on samba share 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: Wed, 04 Jun 2003 11:46:37 -0000 Jon Reynolds writes: > I used to be able to issue the command: > mount -t smbfs -o username=jonr,password=password,uid=jon,gid=jon > //server/share /mnt/shared > > This has always worked before but now on freebsd4.8 the -o is no longer > an option. How can I connect and set the uid,gid? I have read the > mount_smbfs man page and see an -O option but I don't understand how to > make it do what I want. > > Can someone help me finger this out? mount_smbfs takes -u and -g options. You'll need to quote them, I think, but they should do what you need.