Gets the permissions for a folder.

Language