I have a script where I'd like to test a file for specific permissions, specifically 0644, if it is not that then chmod it.
I know I could just chmod it and let it fall through in case it already was that way but I'd like to print a message of it's previous value.