Use `chmod` Ruby method instead.