Change permissions util to (also) accept a string