Subject: Set owner/group on mount
To: None <pkgsrc-users@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-users
Date: 03/25/2007 21:33:29
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF6F764CD8293D0C9CEEFFC85
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello all,

   I want to set owner/group and permissions on a mount point as I
mount. Something like:

   $ sudo mount -o setuid=3Djan,setgid=3Dusers,perm=3D750 /dev/cgd3a
/mnt/evilstuff

   Is it possible, or do I need to run chown and chmod separately after
the mount?

   (ffs, NetBSD/amd64 3.1)

--=20
Kind regards,
Jan Danielsson



--------------enigF6F764CD8293D0C9CEEFFC85
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.7 (NetBSD)

iD8DBQFGBs6OuPlHKFfKXTYRCkClAJ9QVY1HAu0pQZasLFbgKdSr70+SQQCfaEMZ
tvr9uryaghEFxxNh+S28A6Y=
=XroK
-----END PGP SIGNATURE-----

--------------enigF6F764CD8293D0C9CEEFFC85--