lib/gatherlogs/cli.rb
# it's possible for an archive to set permissions that prevent us from
# accessing or removing files.  This fixes those permissions
it's possible for an archive to set permissions that prevent us from
accessing or removing files.  This fixes those permissions
it ' s possible for an archive to set permissions that prevent us from accessing or removing files . This fixes those permissions
def fix_archive_perms(path)
      cmd = "find '#{path}' -type d -exec chmod 755 {} \\\;"
      shellout!(cmd)
      cmd = "find '#{path}' -type f -exec chmod 644 {} \\\;"
      shellout!(cmd)
    end
def fix_archive_perms ( path ) cmd = "find '#{path}' -type d -exec chmod 755 {} \\\;" shellout! ( cmd ) cmd = "find '#{path}' -type f -exec chmod 644 {} \\\;" shellout! ( cmd ) end
it's possible for an archive to set permissions that prevent us from
accessing or removing files.
it ' s possible for an archive to set permissions that prevent us from accessing or removing files .
path
<not_specific>