Subject: CVS commit: basesrc/usr.sbin/mtree
To: None <source-changes@netbsd.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 09/22/2001 06:56:30
Module Name:	basesrc
Committed By:	perry
Date:		Sat Sep 22 03:56:30 UTC 2001

Modified Files:
	basesrc/usr.sbin/mtree: compare.c mtree.8 mtree.c

Log Message:
Add a -l flag which does "loose" permissions checks, i.e. a mode 444
matches a check for mode 644 (though obviously not the reverse). This
can be used by the nightly security run, making the output1 more useful
by having it contain fewer spurious permissions violations.

Note that I did not make -l work if you have a sgid/suid/sticky bit
set. I don't know how you could cause security trouble with more
stringent settings and a suid file, but I don't want to find out the
hard way.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/usr.sbin/mtree/compare.c
cvs rdiff -r1.14 -r1.15 basesrc/usr.sbin/mtree/mtree.8
cvs rdiff -r1.16 -r1.17 basesrc/usr.sbin/mtree/mtree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.