Simple script to fix Rails applications permissions mess.