http://www.openbsd.org/cgi-bin/cvsweb/src/bin/chmod/chmod.c?r1=1.7&r2=1.7.10.1 It seems someone (jason) created the diffs in reverse. Might be a good idea to fix it up :)