From: David Schleef Date: Wed, 29 May 2002 20:11:58 +0000 (+0000) Subject: Make default mode for /dev/comediN 666 in devfs. X-Git-Tag: r0_7_65~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=250de395d018efab9e2aa8d3a16deedbb916693b;p=comedi.git Make default mode for /dev/comediN 666 in devfs. --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 5d691260..bea2cd2f 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1758,7 +1758,7 @@ static int __init comedi_init(void) char name[20]; sprintf(name, "comedi%d", i); devfs_register(NULL, name, DEVFS_FL_DEFAULT, - COMEDI_MAJOR, i, 0660 | S_IFCHR, &comedi_fops, NULL); + COMEDI_MAJOR, i, 0666 | S_IFCHR, &comedi_fops, NULL); } comedi_rt_init();