User:Eschaal/PPTools/Mac/ChangePermissionsWorkflow
The ChangePermissions.workflow is an Automator workflow, that will take a finder item (usually a folder) and changes all the permissions within that item to read-write.
I use this workflow to convert all the files within a folder and its subfolders to be "Read-Write," which is a requirement of Project Gutenberg.
The first thing that the workflow does is that the Get Selected Finder Items action gets the selected finder items, usually a project folder.
Then, the Get Folder Contents action gets the contents of the folder. The option of "repeat for each subfolder found" is checked, so all levels of folder contents are found.
Then, the Run Shell Script action runs a shell script so that the mode of each file is changed to 0777, or "Read-Write-Execute"