On Tue, Aug 12, 2003 at 11:32:06AM +1000, Ram Smith wrote: : 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. : : chmod -R won't work. There doesn't appear to be an option to : exclude dirs with chmod. : : how would you go about doing this.
find <wherever> -type f | xargs chmod g+w or maybe change g+w to 664 if you know nothing there needs to be executable -- Christopher Vance -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
