Bug ID 1037927
Summary No permission to run `crontab -e` as normal user
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter zhx@cnzhx.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I installed openSUSE Tumbleweed using snapshot 20170429 with DVD ISO image,
finding a normal user in this system cannot run `crontab -e` to add cron job.

With the help from Henk van Velden in the forum
<https://forums.opensuse.org/showthread.php/524651-no-permission-to-run-crontab-e-as-normal-user>,
outputs from several commands are here as reference.

```
$ crontab -e
bash: /usr/bin/crontab: Permission denied
```

In `/usr/bin` directory, no package is owned by group `trusted`:
```
$ cd /usr/bin
$ ls -l | grep trusted
```

And there is no group `trusted` in the system.
```
$ cut -d: -f1 /etc/group | grep trusted
```
gives nothing.

Several packages that should be able to be read and executed by `other` are set
to none to `other`,
```
$ 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
```

Permissions of other packages seem good,
```
$ ls -al /usr/bin/c[rs]*
-r-xr-xr-x 1 root root   1043 Aug 17  2016 /usr/bin/crc32
-rwxr-xr-x 1 root root   4595 Sep 17  2016 /usr/bin/create-jar-links
-rwxr-xr-x 1 root root 114352 Apr 18 13:01 /usr/bin/crlutil
-rwsr-x--- 1 root root  55944 Apr  7 13:02 /usr/bin/crontab
lrwxrwxrwx 1 root root      9 Jan 31 11:49 /usr/bin/csh -> /bin/tcsh
-rwxr-xr-x 1 root root  52200 Mar 22 02:46 /usr/bin/csplit
```

This system has been upgraded to snapshot 20170502, and the situations are the
same.

In order to be sure, I use the same ISO image (snapshot 20170429) to install
openSUSE Tumbleweed in a VirtualBox machine, and the results are the same.


You are receiving this mail because: