Bug 73977 - Does not work when installed with an umask of 077 and messes filesystem
Does not work when installed with an umask of 077 and messes filesystem
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-09-13 12:33 EDT by Enrico Scholz
Modified: 2007-04-18 12:46 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-14 07:18:35 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 Enrico Scholz 2002-09-13 12:33:09 EDT
Description of Problem:

Because this package contains unowned directories, they will be created
with the current umask. When having restrictive administrator settings
(umask 077) ordinary user will not have access to them and can not use
the package.

Another problem occurs when removing packages. Then orphaned directories
are remaining.

| $ rpm -qf /usr/include/libmilter /usr/include/libmilter/mfapi.h
| file /usr/include/libmilter is not owned by any package
| sendmail-devel-8.12.5-5

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


How Reproducible:


Steps to Reproduce:
1. umask 077
2. make sure that sendmail-devel is uninstalled completely
   (rm -rf /usr/include/libmilter)
3. rpm -U sendmail-devel-8.12.5-5.i386.rpm
4. ls -l /usr/include/libmilter
5. try to use the programs/scripts/libraries/data of the package as
   non-root user
6. rpm -e sendmail-devel-8.12.5-5

Actual Results:

* at 4:
  | drwx------    2 root     root         4096 Sep 13 17:46 /usr/include/libmilter
* files can not be found/read at 5 and
* /usr/include/libmilter still exists after 6.
Comment 1 Thomas Woerner 2004-06-14 07:18:35 EDT
Fixed in rawhide in rpm sendmail-8.2.11-5 or newer.
Comment 2 Jay Turner 2004-09-01 22:55:22 EDT
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.


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