Fix file permissions in Mac OS X

A few days ago I copied a bunch of files/folders from an external NTFS formatted hard drive to my MacBook. The files where copied ok, but the permissions where messed up.

How did I fix them? With this simple command:
  • $ chmod -Rv u=rwx,g=rx,o=r username path_to_base_folder
It recursively goes through all files and folders and fix their permissions.

Comments

Matías said…
Buen post. Buen source jeje :P

Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Como escuchar la rock and pop desde Ubuntu

Adopción de ap unifi cuando el comando set-inform no aparece en el ap por ssh - docker controller