I have many forms that write data to a files where they can be accessed or browsed online. To make them writable I need to chmod 766 them. There are way too many to change one by one. So for /data*/datafile.txt I can chmod 766 datafile.txt but I am really looking for something like find / -name datafile.txt | chmod 766 but this is the wrong syntax. What is the proper syntax and/or is there a better way to do this.