Use the canonical root:operator 0640 for GEOM disk devices.

Spotted by:	brooks
Sponsored by:	DARPA & NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-10-01 19:33:09 +00:00
parent 31db71276a
commit 0a2ece0481
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104316

View file

@ -151,7 +151,7 @@ g_dev_taste(struct g_class *mp, struct g_provider *pp, int insist __unused)
g_topology_unlock();
mtx_lock(&Giant);
dev = make_dev(&g_dev_cdevsw, unit2minor(unit++),
UID_ROOT, GID_WHEEL, 0600, gp->name);
UID_ROOT, GID_OPERATOR, 0640, gp->name);
mtx_unlock(&Giant);
g_topology_lock();