Fix #19 and tweak permissions for omit and unomit.