I’ve reinstalled my system due to hard drive replace. The install media is the DVD image of openSUSE Tumbleweed snapshot 20170429. Now, it’s upgraded to snapshot 20170502. I have a problem to use cron in this system.
As a normal user, when I run,
$ crontab -e
It says I have no permission,
bash: /usr/bin/crontab: Permission denied
But this works fine before this reinstall. And as I remembered, I had never messed with the permission of system files. The permission to cron command looks not right,
So, does anyone know whether crontab is disabled for normal user in Tumbleweed, at least new snapshots? Should I issue the following command to make crontab accessible to normal user?
$ sudo chmod o+rx /usr/bin/crontab
Or something else? I am not bold enough to mess with system files because I am not sure I can restore them to default easily.
henk@boven:/usr/bin> ls -l | grep trusted
-rwsr-xr-x 1 root trusted 56392 14 okt 2015 at
-rwsr-xr-x 1 root trusted 55792 19 jan 2015 crontab
-rwsr-xr-x 1 root trusted 31504 29 mei 2015 fusermount
henk@boven:/usr/bin>
Of course at and crontab are related.
It looks as if that group can be used in e.g. a sudoers configuration or the like. AFAIK, openSUSE does not use it.
In any case the x-bit for others should be there.
I wonder if this is something new that now shows in Tumbleweed because that is as rolling release showing first new (or newly broken) things.
Sorry I’m not looking carefully enough. Inspired by your comments, I checked my system again. There is no file belonging to group ‘trusted’ in this folder. And the 3 files you mentioned including crontab have the same situation in my system,
cnzhx@a:/usr/bin> ls -l | grep trusted
cnzhx@a:/usr/bin> ls -l | grep "\-rwsr\-x\-\-\-"
-rwsr-x--- 1 root root 52336 Oct 16 2016 at
-rwsr-x--- 1 root root 55944 Apr 7 13:02 crontab
-rwsr-x--- 1 root root 31552 Oct 16 2016 fusermount
Maybe this is something new in Tumbleweed. I need to install it in a VM to find out if this is the case. But I don’t have time to do it until 10 days later.
P.S. Do you happen to know some tricks to check this from the repository or somewhere in the openQA system or else?
P.P.S. I don’t even have ‘trusted’ group in my system,