This just modifies MikOn's idea and puts the code in a shell script for those who don't wish to set all their files to world-writable.

Requires the Bourne-Again Shell (BASH,) Gnu find and Gnu sed. All these are typically found on most Linux distros. Windows users can use Cygwin (www.cygwin.com) to execute the file.

Tested on existing and new installs of OSC.

More...