Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to edit crontab (linux Alpine)

Tags:

cron

alpine

I faced an issue with crontab in alpine under my non-root account.

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

Here is the output of id command:

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

Btw everything works for root account.

like image 876
Pavel Prischepa Avatar asked Apr 06 '16 14:04

Pavel Prischepa


1 Answers

The solution is:

apk add --update busybox-suid
like image 71
Pavel Prischepa Avatar answered Sep 23 '22 12:09

Pavel Prischepa