2016-04-06 61 views
0

我在我的非root帳戶下執行cron操作期間遇到錯誤。無法編輯crontab(linux高山)

bash-4.3$ crontab -e 
crontab: must be suid to work properly 

這裏是ID命令的輸出:

bash-4.3$ id 
uid=41532(fred) gid=41532(fred) groups=41532(fred),41532(fred) 

順便說一句一切工作的根本帳戶。

+1

這個問題可能會更適合[超級用戶](http://www.superuser.com)。 – TheHansinator

+0

'ls -l/usr/bin/crontab'說的是什麼? –

+0

it says 'lrwxrwxrwx 1 root root 12 Mar 2 16:20/usr/bin/crontab - >/bin/busybox' –

回答

1

解決的辦法是:

apk add --update busybox-suid