Date: Fri, 22 Jul 2005 21:08:06 -0500 From: Conrad Sabatier <conrads@cox.net> To: Chris Hill <chris@monochrome.org> Cc: freebsd-questions@freebsd.org Subject: Re: Mount point's drwxrwxrwt permissions change when device is mounted (5.4-STABLE, amd64) Message-ID: <20050723020806.GA20316@cox.net> In-Reply-To: <20050720222333.C19972@tripel.monochrome.org> References: <XFMail.20050720190213.conrads@cox.net> <20050720222333.C19972@tripel.monochrome.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <conrads@cox.net> -- "In Unix veritas"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050723020806.GA20316>