* Cameron Hutchison ([EMAIL PROTECTED]) [041222 14:56]:
> # find $dir -type f -print0 | xargs -0 chmod g=u,o=-rwx

To reduce this yet further, you could do it as 

chmod -R g=u $dir

This handles both directories and files in one pass, setting group
perms equal to user perms, and nothing else (no mucking with user
perms).

Vineet
-- 
http://www.doorstop.net/
-- 
http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to