Date: Wed, 20 Jul 2005 22:31:22 -0400 (EDT) From: Chris Hill <chris@monochrome.org> To: "Conrad J. Sabatier" <conrads@cox.net> Cc: freebsd-questions@freebsd.org Subject: Re: Mount point's drwxrwxrwt permissions change when device is mounted (5.4-STABLE, amd64) Message-ID: <20050720222333.C19972@tripel.monochrome.org> In-Reply-To: <XFMail.20050720190213.conrads@cox.net> References: <XFMail.20050720190213.conrads@cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Jul 2005, Conrad J. Sabatier wrote: > The ount 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. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720222333.C19972>