Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A3222781D6D for <~alpine/users@lists.alpinelinux.org>; Mon, 20 Jan 2020 14:32:35 +0000 (UTC) Received: from postfix.malikania.fr ([5.135.187.121]) by mwinf5d06 with ME id seYW210012dbEiD03eYWrp; Mon, 20 Jan 2020 15:32:34 +0100 X-ME-Helo: postfix.malikania.fr X-ME-Auth: ZGVtZWxpZXIuZGF2aWRAb3JhbmdlLmZy X-ME-Date: Mon, 20 Jan 2020 15:32:34 +0100 X-ME-IP: 5.135.187.121 Received: from [167.3.108.158] (unknown [77.159.242.250]) by postfix.malikania.fr (Postfix) with ESMTPSA id 222C12275B for <~alpine/users@lists.alpinelinux.org>; Mon, 20 Jan 2020 15:32:30 +0100 (CET) To: ~alpine/users@lists.alpinelinux.org From: David Demelier Subject: crontab -e discards changes Message-ID: <0a0034b6-06dd-11ac-ec76-5d302b7ba3d8@malikania.fr> Date: Mon, 20 Jan 2020 15:32:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 7bit Hello, I've installed Alpine on my raspberry pi (but as sys mode) so / is mounted rw all the time. I use crond from busybox as default, and wanted to edit the root's crontab. As root I ran `crontab -e` and it opened up vim with the default rules. I've added a new line at the end as usual 0 6 * * * mycommand And saved, but once I re-opened `crontab -e` the file was as original and my changes discarded. There are no messages in /var/log/messages related to this trouble. Also, as simple user I get the error saying that crontab isn't setuid: crontab: must be suid to work properly So I suppose I simply need to `chmod 4755 $(which crontab)` but wanted to be sure I don't do something wrong :) Regards, -- David