From owner-freebsd-current@FreeBSD.ORG Wed Dec 1 20:28:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5610216A4CE; Wed, 1 Dec 2004 20:28:41 +0000 (GMT) Received: from mail.animecowboy.com (cdm-208-180-231-109.bcst.cox-internet.com [208.180.231.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB0C43D39; Wed, 1 Dec 2004 20:28:40 +0000 (GMT) (envelope-from animecowboy@animecowboy.com) Received: from localhost ([]) by mail.animecowboy.com (Merak 7.1.6) with ESMTP id ABA37675; Wed, 01 Dec 2004 14:28:42 -0600 Received: from toran.animecowboy.com (toran.animecowboy.com [10.0.0.15]) by www.animecowboy.com (IMP) with HTTP for ; Wed, 1 Dec 2004 14:28:37 -0600 Message-ID: <1101932917.41ae2975cbb94@www.animecowboy.com> Date: Wed, 1 Dec 2004 14:28:37 -0600 From: animecowboy@animecowboy.com To: Harti Brandt References: <1101874345.41ad44a92983e@www.animecowboy.com> <20041201091330.F655@beagle.kn.op.dlr.de> In-Reply-To: <20041201091330.F655@beagle.kn.op.dlr.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 10.0.0.15 cc: current Subject: Re: smbfs and setuid in 5.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 20:28:41 -0000 > Try to use the -u and -g switches to mount_smbfs to specify the user > that should access the mounted file system. > > harti > The base directory was already set to the user/group I wanted, makeing the defaults to -u -g what I wanted. So as an experiement I set the base dir to root:wheel, and used the -u -g attribs. The results were the same as before. Checking with ls -l(as root) shows the base and the files mounted to the correct user(spamassassin in this case) all with 700. suing to spamassasin and attempting to list the directory gives me .: Permission denied. unmounting, setting base dir permissions to 750(or 770) remounting, suing to spamassasin, ls gives me the contents of the remote mount. Thank you, -Brian