How to convert a stat output to a unix permissions string
Asked 2013-07-23T11:49:33.463
9
If you run os.stat(path) on a file and then take its st_mode parameter, how do you get from there to a string like this: rw-r--r-- as known from the Unix world?