Bug 118405 - changes permissions & ownership
changes permissions & ownership
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: pam (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2004-03-16 08:37 EST by Raik Lieske
Modified: 2015-01-07 19:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-21 03:18:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Raik Lieske 2004-03-16 08:37:26 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)

Description of problem:
If you have files in /mnt, pam_console_apply changes their permissions and ownership.
For example: I have executable files in /mnt which mounts or unmounts drives.
This file are: /mnt/zip-mnt /mnt/zip-umnt and so on.
The problem is, that the files will be set to not-executable because this entry in /etc/security/console.perms:
<console> 0600 <zip> 0600 root.disk
But my file "zip-mnt" is not "zip" - but pam_console_apply changes it too!

I think it is a bug - the right entry for such behavior should be:
<console> 0600 <zip*> 0600 root.disk

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Tomas Mraz 2004-09-21 03:18:55 EDT
You didn't read the man console.perms.
The <zip> entry doesn't specify the filename directly it's defined
elsewhere in the file.

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