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

Las Tutucas y todo lo demás

Python Ipdb Cheatsheet