summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-01 19:33:09 +0000
committerphk <phk@FreeBSD.org>2002-10-01 19:33:09 +0000
commita2252944ee6473284055cf0ce4b26a0cf91ddfa1 (patch)
treeee1e8d29ad7049c20c25282a53d4dd00edfd2085 /sys/geom
parentf42743371e8d1b3ce264a6379e67a3b586ec86c3 (diff)
downloadFreeBSD-src-a2252944ee6473284055cf0ce4b26a0cf91ddfa1.zip
FreeBSD-src-a2252944ee6473284055cf0ce4b26a0cf91ddfa1.tar.gz
Use the canonical root:operator 0640 for GEOM disk devices.
Spotted by: brooks Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index 5d06165..3ad246e 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -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();
OpenPOWER on IntegriCloud