Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 02:24:20 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG, phk@FreeBSD.ORG
Subject:   Re: md/mdmfs bugs
Message-ID:  <20010730022420.B55959@xor.obsecurity.org>
In-Reply-To: <20010730090336.2B9203E28@bazooka.unixfreak.org>; from dima@unixfreak.org on Mon, Jul 30, 2001 at 02:03:31AM -0700
References:  <20010729185401.A642@xor.obsecurity.org> <20010730090336.2B9203E28@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--yEPQxsgoJgBvi8ip
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 30, 2001 at 02:03:31AM -0700, Dima Dorfman wrote:
> Kris Kennaway <kris@obsecurity.org> writes:
> > 1) For some reason, my mdmfs line in /etc/fstab always does a chmod
> > 777 /tmp at mount-time
> >=20
> > /dev/md0                /tmp            mfs     rw,-s=3D65536     0    =
   0
>=20
> I can't reproduce this.  You say it "does a chmod"; does that mean you
> see it caling chmod(2) (see as in using truss(1), or the undocumented
> -X option), or is the symptom that it "winds up with mode 777"?  Also,
> does it happen when you run mdmfs from the command line, and/or with
> directories other than /tmp?

I haven't tracked it down, except that every time I reboot my /tmp
winds up mode 777 again.

> > Step 1: disklabel -r -w md1c auto
>                              ^
> Disklabel wants the disk name, not the partition.  This is still a
> panic(8)/hang(8) implementation, but it doesn't derive you of any
> functionality.

Yeah..this was a typo, but it's stil wrong :)

Kris
--yEPQxsgoJgBvi8ip
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7ZSfEWry0BWjoQKURAkCAAJwMQItE7gvhiPSH4xj9j8eJw8vCmACg3TPX
mP3MVHzo5rmadRlKJUggtkU=
=nQ93
-----END PGP SIGNATURE-----

--yEPQxsgoJgBvi8ip--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010730022420.B55959>