Bug 9701 - permissions in /usr/bin/rnews, /var/spool/news/incoming conflict with /etc/cron.daily/inn-cron-rnews
permissions in /usr/bin/rnews, /var/spool/news/incoming conflict with /etc/cr...
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: inn (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-22 21:31 EST by Jonathan Kamens
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-05-19 12:35:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2000-02-22 21:31:50 EST
The file /etc/cron.daily/inn-cron-rnews invokes rnews -U.  However, since
it's in /etc/cron.daily rather than in news' crontab, it runs as root
instead of as news.  That's mostly OK since rnews is setuid news.  What
rnews is *not*, however, is setgid news, and that's a problem, since it
means that once rnews finishes processing a file in
/var/spool/news/incoming, it can't delete it.

Either rnews should be made setgid news, or the rnews -U should be run out
of a news crontab file instead of out of /etc/cron.daily.

Note You need to log in before you can comment on or make changes to this bug.