Sfoglia il codice sorgente

proper crontab permission

Serghey Rodin 12 anni fa
parent
commit
3ec03c8c85
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      func/main.sh

+ 3 - 0
func/main.sh

@@ -491,6 +491,9 @@ sync_cron_jobs() {
                 >> $sys_cron
         fi
     done < $USER_DATA/cron.conf
+
+    # Set proper permissions
+    chow 600 $sys_cron
 }