Monday, January 14, 2013

Change Permissions by File Type

I recently have had to figure out how to allow others, the slightly privileged masses, to traverse my directory structure even if they cannot see anything or do anything with most of it.

find /directory -type d -exec chmod 771 {} \;


Where the /directory is where you want your search to start.

Followers