Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 11:03:06 -0700 (PDT)
From:      Knight B & <broot@knight.volant.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/44058: /dev/ch* is created without group write permission
Message-ID:  <200210141803.g9EI36429067@knight.volant.org>

next in thread | raw e-mail | index | archive | help

>Number:         44058
>Category:       misc
>Synopsis:       /dev/ch* is created without group write permission
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 11:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Pat Lashley
>Release:        FreeBSD 4.7-RC i386
>Organization:
Phoenix Volant
>Environment:
System: FreeBSD knight.volant.org 4.7-RC FreeBSD 4.7-RC #0: Thu Oct 10 16:02:40 PDT 2002 root@knight.volant.org:/d2/usr.obj/usr/src/sys/KNIGHT i386


>Description:
	MAKEDEV creates the tape changer devices (ch*) as owned
	by root:operator; but permissions crw-r----- so users
	in the operator group can't operate the changer.  Backup
	systems like AMANDA normally run as operator.
>How-To-Repeat:
	cd /dev
	rm ch0
	./MAKEDEV ch0
>Fix:

	Changer devices should have the same permissions as tape
	drives; so apply the following patch.


--- MAKEDEV.~1~	Sun Oct 13 14:03:30 2002
+++ MAKEDEV	Mon Oct 14 10:59:45 2002
@@ -837,7 +837,7 @@
 	;;
 
 ch*)
-	umask 37
+	umask $tape_umask
 	unit=`expr $i : '..\(.*\)'`
 	case $i in
 	ch*) name=ch;  chr=17;;



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210141803.g9EI36429067>