since these are not shared among other functions, can we move all constants to either inside `_chmod` or inside a global object - say `PERMS` or something? thanks!