From f9141487c8402bc5733eb99fa98f9207457d7f33 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 16 Sep 2013 10:31:20 +0300 Subject: [PATCH] fixes issue with crontab file permission --- func/main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/func/main.sh b/func/main.sh index 56a32d05..eee652d0 100644 --- a/func/main.sh +++ b/func/main.sh @@ -493,7 +493,8 @@ sync_cron_jobs() { done < $USER_DATA/cron.conf # Set proper permissions - chown 600 $sys_cron + chown $user:$user $sys_cron + chmod 600 $sys_cron }