Bug 23133

Summary: wrong umask
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: apmdAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: dr
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-08 16:58:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Gerald Teschl 2001-01-02 11:37:13 UTC
apmd seems to execute suspend/resume scripts with a wrong umask.

For example, upon resume the /etc/sysconfig/apm-scripts/apmscript
will start the netfs service and create the lock file world readable:

[root@soliton init.d]# ls -l /var/lock/subsys/netfs
-rw-rw-rw-    1 root     root            0 Jan  2 11:20 netfs

I haven't found any other effects yet, but this might have some
security implications and should be fixed!

Comment 1 Bernhard Rosenkraenzer 2001-01-08 16:58:40 UTC