# File lib/reap2/chmod-task.rb, line 29
  def run_chmod
    puts "Reap is shelling out work to chmod..."

    # misc
    misc = FileList.new
    misc.include('[A-Z]*')
    misc.exclude('InstalledFiles')
    chmod( misc ) unless misc.empty?

    # lib
    libs = FileList.new
    libs.include('lib/**/*')
    libs.exclude('lib/CVS/**/*')
    libs.include('packages/*/lib/**/*')
    libs.exclude('packages/*/lib/CVS/**/*')
    libs.exclude('packages/CVS/**/*')
    chmod( libs ) unless libs.empty?

    # bin
    bins = FileList.new
    bins.include('bin/**/*')
    bins.exclude('bin/CVS/**/*')
    bins.include('packages/*/bin/**/*')
    bins.exclude('packages/*/bin/CVS/**/*')
    bins.exclude('packages/CVS/**/*')
    chmod( bins, 755 ) unless bins.empty?
  end