Subject: Re: does vfs.generic.usermount work with mount_union?
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 07/31/2007 17:49:55
--Zi0sgQQBxRFxMTsj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 30, 2007 at 05:32:56PM -0400, Oliver Gould wrote:
> Blair, Current-users-
>=20
> I am running into an annoying issue with mount_union (on 4.99.20).  I
> see that Blair described the same problem back in January, though:
>=20
> On 2007-01-06 16:36 -0500, Blair Sadewitz wrote:
> > $ mount -t union -o -b /u/git build
> > mount_union: /u/git on /home/blair/build: Operation not permitted

I think the issue is that you need to add -o nodev,nosuid. I'm not 100%=20
sure on the flags, but the key issue is that we no longer auto-add the=20
user mount restrictions. They now have to be explicitly given.

Take care,

Bill

--Zi0sgQQBxRFxMTsj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGr9izWz+3JHUci9cRAtRLAJ9kSwlA+XvNa8y6yZBfK4shenV+qwCfTH3C
MKiuuNsiOmTtvaP3HJrWQrQ=
=QW/B
-----END PGP SIGNATURE-----

--Zi0sgQQBxRFxMTsj--