This amd module helps to convert file mode to linux permissions (eq. 644 -> rw-r--r--)
Create a module and add the converter in the dependency array.
Use the static factory method create
to get an instance of the module.
Then call the filemode2Perms
method passing the file mode to convert.