permissions fix

This commit is contained in:
Jamie Cameron
2014-05-15 21:42:47 -07:00
parent 87c69933ec
commit 467d3a0ee0
14 changed files with 8 additions and 5 deletions

0
fail2ban/delete_actions.cgi Normal file → Executable file
View File

0
fail2ban/delete_filters.cgi Normal file → Executable file
View File

0
fail2ban/delete_jails.cgi Normal file → Executable file
View File

0
fail2ban/edit_action.cgi Normal file → Executable file
View File

0
fail2ban/edit_filter.cgi Normal file → Executable file
View File

0
fail2ban/edit_jail.cgi Normal file → Executable file
View File

11
fail2ban/index.cgi Normal file → Executable file
View File

@ -26,12 +26,15 @@ if ($err) {
# Show category icons
my @links = ( "list_filters.cgi", "list_actions.cgi",
"list_jails.cgi", "edit_config.cgi" );
"list_jails.cgi", "edit_config.cgi",
"edit_manual.cgi", );
my @titles = ( $text{'filters_title'}, $text{'actions_title'},
$text{'jails_title'}, $text{'config_title'} );
$text{'jails_title'}, $text{'config_title'},
$text{'manual_title'}, );
my @icons = ( "images/filters.gif", "images/actions.gif",
"images/jails.gif", "images/config.gif" );
print &icons_table(\@links, \@titles, \@icons, 4);
"images/jails.gif", "images/config.gif",
"images/manual.gif", );
print &icons_table(\@links, \@titles, \@icons, 5);
# Show start / stop buttons
print &ui_hr();

0
fail2ban/list_actions.cgi Normal file → Executable file
View File

2
fail2ban/list_filters.cgi Normal file → Executable file
View File

@ -20,7 +20,7 @@ print &ui_columns_start([ "",
$text{'filters_re'} ]);
foreach my $f (@filters) {
my ($def) = grep { $_->{'name'} eq 'Definition' } @$f;
next if (!$def); # XXX what about default?
next if (!$def); # Skip default config file
my $fail = &find_value("failregex", $def);
my $fname = &filename_to_name($def->{'file'});
if (length($fail) > 80) {

0
fail2ban/list_jails.cgi Normal file → Executable file
View File

0
fail2ban/save_action.cgi Normal file → Executable file
View File

0
fail2ban/save_config.cgi Normal file → Executable file
View File

0
fail2ban/save_filter.cgi Normal file → Executable file
View File

0
fail2ban/save_jail.cgi Normal file → Executable file
View File