No need to go writing a shell script when a simple command will suffice:
Code:
sudo find . -type f -exec chmod 666 {} \; -print
For the folders, use
-type d (d for directories) and mode
777.
That said, the Unix security alarms in my head are going off like mad looking at these permissions.

My inclination would be to create a group that includes all the users who need to access the music files, change all the files/directories to be owned by that group, and make the permissions 664 (or 775 for directories). Left as an exercise for the reader unless you seriously want to try it. Then I'll be happy to go into more detail.