Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.sbin/mtree



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.




Home | Main Index | Thread Index | Old Index