Bug 11694 - cdrom permissions keep changing
cdrom permissions keep changing
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: pam (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-26 15:38 EDT by scot
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-30 11:29:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description scot 2000-05-26 15:38:14 EDT
running redhat 6.2 (upgrade from redhat 5.2); /dev/cdrom is a link to my
IDE cdrom; I must keep issuing 'chmod 666 /dev/<whatever my cdrom device
is>' in order to play music cd's on my system.  Something keeps changing
the permissions back to 600.  I have a number of systems this happens on.

find /etc -name cron\* -type f -exec grep -e 'cdrom' -e 'dev' {} \;
doesn't produce any cron jobs changing permissions on cdrom drive.

# rpm -q dev
dev-2.7.18-3
Comment 1 Nalin Dahyabhai 2000-05-30 11:29:59 EDT
This is pam_console working its magic.  It automatically gives ownership of your
CD-ROM drive to users who log in on the console, so that they can use the drive
without constant permission munging.  If you want pam_console to not change the
permissions, remove this line from /etc/security/console.perms:

<console>  0600 <cdrom>     0600 root.disk

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