Browse Source

proper crontab permission

Serghey Rodin 12 years ago
parent
commit
3ec03c8c85
1 changed files with 3 additions and 0 deletions
  1. 3 0
      func/main.sh

+ 3 - 0
func/main.sh

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