Bug 23133 - wrong umask
wrong umask
Product: Red Hat Linux
Classification: Retired
Component: apmd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Aaron Brown
: Security
Depends On:
  Show dependency treegraph
Reported: 2001-01-02 06:37 EST by Gerald Teschl
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-08 11:58:44 EST
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 Gerald Teschl 2001-01-02 06:37:13 EST
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 11:58:40 EST

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