extract information about file permissions