May 23, 2011

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.

1 comment:

Matías Herranz [scoobygalletas] said...

Buen post. Buen source jeje :P