From owner-freebsd-questions@FreeBSD.ORG Sat Feb 11 15:21:56 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 3769A16A422 for ; Sat, 11 Feb 2006 15:21:56 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1574A43D6E for ; Sat, 11 Feb 2006 15:21:44 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from dhcp32.wireless.private.submonkey.net ([192.168.11.32]) by shrike.submonkey.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F7wZ9-00052Y-Ga; Sat, 11 Feb 2006 15:21:43 +0000 In-Reply-To: <43EDA3E5.9050504@meijome.net> References: <43EB3AF2.2060701@meijome.net> <33FC9ED5-430B-4FF2-B6D9-2CEECB222842@submonkey.net> <43EDA3E5.9050504@meijome.net> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-302809583" Message-Id: <7917DD8D-BD27-429D-A29F-EF32CE86DF5B@submonkey.net> Content-Transfer-Encoding: 7bit From: Ceri Davies Date: Sat, 11 Feb 2006 15:21:22 +0000 To: Norberto Meijome X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.746.2) Cc: FreeBSD Questions Subject: Re: Mount changing mount point rights? 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, 11 Feb 2006 15:21:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-302809583 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 11 Feb 2006, at 08:44, Norberto Meijome wrote: > thanks for the pointer. After mounting it, I did > sudo chown betom: mnt_fld > > cd mnt_fld > ls -la > drwx------ 16 betom wheel 512 Feb 11 12:07 . > drwxr-x--- 50 betom betom 3072 Feb 11 11:47 .. > [...] > > which looks ok to me.. > > but as soon as I unmount and mount again, it reverts to root:wheel That's very, very strange, and shouldn't be possible. What are you doing differently to me: # uname -v FreeBSD 6.1-PRERELEASE #19: Sun Feb 5 04:58:29 GMT 2006 root@shrike.private.submonkey.net:/usr/obj/usr/src/sys/SHRIKE # dd if=/dev/zero of=/a/md bs=1000 count=6144000 # mdconfig -a -f /a/md md2 # geli init /dev/md2 # geli attach /dev/md2 # newfs -U /dev/md2.eli # mount /dev/md2.eli /mnt # ls -ld /mnt drwxr-xr-x 3 root wheel 512 Feb 11 15:15 /mnt # chown ceri:users /mnt # ls -ld /mnt drwxr-xr-x 3 ceri users 512 Feb 11 15:15 /mnt # umount /mnt # mount /dev/md2.eli /mnt # ls -ld /mnt drwxr-xr-x 3 ceri users 512 Feb 11 15:15 /mnt Ceri -- That must be wonderful! I don't understand it at all. -- Moliere --Apple-Mail-1-302809583 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFD7gDzme8yCsQvJJ0RAvHeAKCKFbC44S57E03bSZcNHzKzOeZCIgCgnM5B uPqpO6pIigGDoc5et/31z2A= =s0y2 -----END PGP SIGNATURE----- --Apple-Mail-1-302809583--