Skip to content

Commit f914148

Browse files
committed
fixes issue with crontab file permission
1 parent a4ee392 commit f914148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

func/main.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,8 @@ sync_cron_jobs() {
493493
done < $USER_DATA/cron.conf
494494

495495
# Set proper permissions
496-
chown 600 $sys_cron
496+
chown $user:$user $sys_cron
497+
chmod 600 $sys_cron
497498
}
498499

499500

0 commit comments

Comments
 (0)