9.5 Fixing Permissions ====================== Suppose you want to make sure that everyone can write to the directories in a certain directory tree. Here is a way to find directories lacking either user or group write permission (or both), and fix their permissions: find . -type d -not -perm -ug=w | xargs chmod ug+w You could also reverse the operations, if you want to make sure that directories do _not_ have world write permission.