Extract permissions by multiprocessing