Преглед на файлове

set default permission for openvpn ccd to 664

root преди 8 месеца
родител
ревизия
8654a5e739
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      scripts/utils/sync_ccd.pl

+ 1 - 1
scripts/utils/sync_ccd.pl

@@ -313,7 +313,7 @@ sub process_ccd_file {
         print $fh @lines;
         close $fh;
         # Ставим права на конфиг
-        chmod 0644, $ccd_file or do {
+        chmod 0664, $ccd_file or do {
             my $error = "chmod failed: $!";
             log_message("ERROR", $error);
             die "$error\n";