Red Hat Bugzilla – Bug 124575
apm attempts to create /dev/apm_bios, even when not needed
Last modified: 2014-03-16 22:45:37 EDT
Description of problem:
As a user, 'apm -s' results in failure. looking at the code and
strace, it appears that apm tries to create /dev/apm_bios even if it
already exists, wich fails unless you're root.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. log in as user
2. type "apm -s"
[mandy@localhost mandy]$ apm -s
apm: Operation not permitted
Works for me.
It should be setting /dev/apm_bios to the most recent console or X
login. The idea is that the console users can suspend but not remote
It does appear to be in console.perms correctly.