Red Hat Bugzilla – Bug 118405
changes permissions & ownership
Last modified: 2015-01-07 19:07:37 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):
Steps to Reproduce:
You didn't read the man console.perms.
The <zip> entry doesn't specify the filename directly it's defined
elsewhere in the file.