Rewrote posix-permissions-string using idiomatic loop