Hi everyone,
I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions?
This is how they look (i've never seen "@" before in permissions! What does that mean??)
Quote:
-rwxrwxrwx@ 1 patrick staff 10619 Sep 22 2008 README
-rwxrwxrwx@ 1 patrick staff 307 Sep 22 2008 Rakefile
drwxrwxrwx 12 patrick staff 408 Sep 20 18:16 app
(etc)
This is how they should look...
Quote:
-rw-rw-r-- 1 patrick staff 10011 Jan 10 13:04 README
-rw-rw-r-- 1 patrick staff 307 Jan 10 13:04 Rakefile
drwxrwxr-x 6 patrick staff 204 Jan 10 13:04 app
(etc)
So, this project has many subdirectories, so I just would like to go through and convert all directories to drwxrwxr-x, and all non directory files to -rw-rw-r--
Is there an easy way to do this? I couldn't find a recursive flag for chmod, nor do I know how to grab all directories as one *, and then separately grab non-directories as one *...
Thank you very much.
-patrick