permission list by dplusplus

for i in range(512):
\x09s='';t='rwx'
\x09for j in range(9):s+=2**(8-j)&i and t[j%3]or'-'
\x09print'%04o is -'%i+s

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top