Subject: misc/33092: msdos and ntfs partitions are checked for sets[ud]id files
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 03/16/2006 21:50:00
>Number:         33092
>Category:       misc
>Synopsis:       msdos and ntfs partitions are checked for sets[ud]id files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 16 21:50:00 +0000 2006
>Originator:     Aleksey Cheusov <cheusov@tut.by>
>Release:        NetBSD 3.0_STABLE
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
	
	
System: NetBSD chen.chizhovka.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: Sun Mar 12 12:49:58 GMT 2006 cheusov@chen:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
There is no reason to check msdos and ntfs file systems
for sets[ud]id files. More over, it may be dangerous.
Because NetBSD has no fsck_ntfs, broken ntfs can be mounted,
and this may cause NetBSD to crash.
This exactly happend to me.
>How-To-Repeat:
>Fix:
Index: etc/defaults/security.conf
===================================================================
RCS file: /cvsroot/src/etc/defaults/security.conf,v
retrieving revision 1.14.2.1
diff -u -r1.14.2.1 security.conf
--- etc/defaults/security.conf  12 May 2005 15:59:21 -0000      1.14.2.1
+++ etc/defaults/security.conf  16 Mar 2006 21:24:32 -0000
@@ -31,7 +31,7 @@
 
 check_homes_permit_usergroups=NO
 
-check_devices_ignore_fstypes="!local fdesc kernfs null procfs ptyfs"
+check_devices_ignore_fstypes="!local fdesc kernfs null procfs ptyfs ntfs msdos"
 
 check_mtree_follow_symlinks=NO
 






-- 
Best regards, Aleksey Cheusov.

>Unformatted: