thumbnail `chmod` calculator