diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index 11c7864df9ec..77fd13ca7237 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -383,7 +383,8 @@ raidattach(void) return; } - parent_sc->sc_dev= make_dev(&raidctl_cdevsw, 0, 0, 0, 0644, "raidctl"); + parent_sc->sc_dev= make_dev(&raidctl_cdevsw, 0, UID_ROOT, GID_WHEEL, + 0600, "raidctl"); parent_sc->sc_dev->si_drv1 = parent_sc; raidctl_dev = parent_sc->sc_dev;