Bug 359411

Summary: /usr/bin/crontab permission denied
Product: [Fedora] Fedora Reporter: Marc Wiriadisastra <marc>
Component: crontabsAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-31 00:55:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marc Wiriadisastra 2007-10-31 00:17:02 UTC
Description of problem:
When I run the command crontab -e or crontab -u I get Permission Denied as a
user and as root.

Version-Release number of selected component (if applicable):
[root@strikeforce ~]# rpm -qa | grep crontab
crontabs-1.10-18.fc8

How reproducible:
Happens everytime

Steps to Reproduce:
1. log in as a normal user
2. run crontab -e
  
Actual results:
Permission Denied output

Expected results:
Give me the option to adjust the schedule for running programs at a specified time.

Additional info:
[root@strikeforce ~]# ls -lZ /usr/bin/crontab 
-rwsr-sr-x  root root system_u:object_r:crontab_exec_t /usr/bin/crontab
[root@strikeforce ~]# crontab -u
-bash: /usr/bin/crontab: Permission denied
[marc@strikeforce ~]$ crontab -e
bash: /usr/bin/crontab: Permission denied

Comment 1 Jeremy Katz 2007-10-31 00:55:28 UTC
Update to selinux-policy-3.0.8-40 for the fix to this