Report question

Question: How to convert a stat output to a unix permissions string