Mailinglist Archive: opensuse-bugs (4283 mails)

< Previous Next >
[Bug 1037927] New: No permission to run `crontab -e` as normal user
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 07 May 2017 20:50:17 +0000
  • Message-id: <bug-1037927-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1037927


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@xxxxxxxxxxxxxxxxxxxxxx
Reporter: zhx@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
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:
You are on the CC list for the bug.
< Previous Next >
Follow Ups