From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 22:28:43 2006 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 3E01616A506 for ; Fri, 21 Jul 2006 22:28:43 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7291C43D45 for ; Fri, 21 Jul 2006 22:28:39 +0000 (GMT) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 78F7082B7 for ; Sat, 22 Jul 2006 00:28:38 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by fri.itea.ntnu.no (Postfix) with SMTP for ; Sat, 22 Jul 2006 00:28:37 +0200 (CEST) Received: (qmail 58134 invoked by uid 88); 22 Jul 2006 00:28:36 +0200 Received: from 216-204-44.0507.adsl.tele2.no (HELO [192.168.1.112]) (193.216.204.44) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; lør, 22 jul 2006 00:28:35 +0200 Message-ID: <44C1550F.40108@lvor.halvorsen.cc> Date: Sat, 22 Jul 2006 00:28:31 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: DW References: <44C108FE.200@dwinner.net> In-Reply-To: <44C108FE.200@dwinner.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=9198BB40; url=mailto:pgpkey@svein.halvorsen.cc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBE625D7DC77FD2DF1475A600" X-Virus-Checked: Checked X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F8 hex) in message header 'Received' Received: ...smtpd/0.31.1) with ESMTP; l\370r, 22 jul 2006 ... ^ Cc: freebsd-questions@freebsd.org Subject: Re: mount privileges...what the heck? 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: Fri, 21 Jul 2006 22:28:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBE625D7DC77FD2DF1475A600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable DW wrote: > Discovered something odd today, trying to get the procedures down to > help someone who wanted to mount a second drive to a mount point in > their home directory. : > Ownership on mount point: dude:dude /usr/home/dude/drive2 >=20 > Now when I do: > # mount /dev/da1s1d /usr/home/dude/drive2 >=20 > Ownership shows: > root:wheel /usr/home/dude/drive2 > This is not acceptable! should be "dude:dude /usr/home/dude/drive2" This is probably because the root directory on the mounted file system has a different ownership than the mount point. I might be way off here, but could this be something like the mount point assuming the role of the mounted file system root, when mounted? Then after mounting, your chmod command was issued on the mounted fs, not the mount point. This way it stuck. Could you maybe unmount the fs, chgrp the mountpoint, and remount and see if the mountpoint still has the dude group? Svein Halvor --------------enigBE625D7DC77FD2DF1475A600 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iD8DBQFEwVUThQg3vZGYu0ARAgw9AJ9v41mJmL0X28T+cTtQ1T9Y9zGy/gCfSySL iVTuASY7euRaM/16zKlQgss= =lYsm -----END PGP SIGNATURE----- --------------enigBE625D7DC77FD2DF1475A600--