filestore permissions fix