[bug] better permissions and files dump