<quote who="Ram Smith"> > I have a shared directory structure where alot of the files in each > directory have permisions of 644 I wanting to change it so that the files > are chmod 664 letting all users in the group read and write to the data. > without nuking the permissions on the directories along with the files.
find <root-of-your-dir-tree> -type f | xargs chmod 644 (Have a look at the output of find first, and then check the find man page for other really handy find options!) - Jeff -- linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/ "Lord, thy one-liners are as good as thy tricks. Thou art indeed an all-round family entertainer." - Rowan Atkinson, Nazareth -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
