Date: Sat, 22 Jul 2006 00:28:31 +0200 From: Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc> To: DW <spock@dwinner.net> Cc: freebsd-questions@freebsd.org Subject: Re: mount privileges...what the heck? Message-ID: <44C1550F.40108@lvor.halvorsen.cc> In-Reply-To: <44C108FE.200@dwinner.net> References: <44C108FE.200@dwinner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C1550F.40108>