Correct mistypes for setting OS X permissions