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 [EMAIL PROTECTED]:/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



Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to