From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 02:08:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BA7A716A425 for ; Sat, 23 Jul 2005 02:08:19 +0000 (GMT) (envelope-from conrads@cox.net) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2124E43D45 for ; Sat, 23 Jul 2005 02:08:18 +0000 (GMT) (envelope-from conrads@cox.net) Received: from serene.no-ip.org ([68.11.71.10]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050723020814.PBVW29189.lakermmtao02.cox.net@serene.no-ip.org>; Fri, 22 Jul 2005 22:08:14 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.3/8.13.3) with ESMTP id j6N28CXw045252; Fri, 22 Jul 2005 21:08:12 -0500 (CDT) (envelope-from conrads@serene.no-ip.org) Received: (from conrads@localhost) by serene.no-ip.org (8.13.3/8.13.3/Submit) id j6N287VX045227; Fri, 22 Jul 2005 21:08:07 -0500 (CDT) (envelope-from conrads) Date: Fri, 22 Jul 2005 21:08:06 -0500 From: Conrad Sabatier To: Chris Hill Message-ID: <20050723020806.GA20316@cox.net> References: <20050720222333.C19972@tripel.monochrome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050720222333.C19972@tripel.monochrome.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Mount point's drwxrwxrwt permissions change when device is mounted (5.4-STABLE, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 02:08:19 -0000 On Wed, Jul 20, 2005 at 10:31:22PM -0400, Chris Hill wrote: > On Wed, 20 Jul 2005, Conrad J. Sabatier wrote: > > >The mount point, branching off of the root (/) directory and owned by > >root:wheel, is setup with the correct permissions (chmod 01777) prior > >to mounting the device, but immediately changes once the device is > >mounted. > > [...] > > >I've even tried a kernel with "options SUIDDIR", added "suiddir" to the > >mount point's options in /etc/fstab, and enabled the suid and guid > >bits in the directory's permissions, but to no avail. It *still* gets > >reset to drwxr-x-r-x. > > This sounds like something to do with devfs, since the device files get > created and destroyed as the devices themselves come and go. Look into > man devfs, also the files devfs.conf and devfs.rules. Thanks, I'll look into your suggestions. -- Conrad J. Sabatier -- "In Unix veritas"