Bug 73904 - Does not work when installed with an umask of 077 and messes filesystem
Summary: Does not work when installed with an umask of 077 and messes filesystem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl-Archive-Tar
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-13 12:49 UTC by Enrico Scholz
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version: FC4+
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-14 02:07:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2002-09-13 12:49:40 UTC
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
them.

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

| $ rpm -qf /usr/lib/perl5/vendor_perl/5.8.0/Archive /usr/lib/perl5/vendor_perl/5.8.0/Archive/*
| file /usr/lib/perl5/vendor_perl/5.8.0/Archive is not owned by any package
| perl-Archive-Tar-0.22-26


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

perl-Archive-Tar-0.22-26


How Reproducible:

100%


Steps to Reproduce:
1. umask 077
2. make sure that perl-Archive-Tar is uninstalled completely (rm -rf
   /usr/lib/perl5/vendor_perl/5.8.0/Archive)
3. rpm -U perl-Archive-Tar-0.22-26.noarch.rpm
4. ls -l /usr/lib/perl5/vendor_perl/5.8.0/Archive
5. start perl script Archive::Tar
6. rpm -e perl-Archive-Tar

Actual Results:

| drwx------    2 root     root         4096 Sep 13 01:32 /usr/lib/perl5/vendor_perl/5.8.0/Archive

at 4; script can not find package at 5 and
/usr/lib/perl5/vendor_perl/5.8.0/Archive still exists after 6.


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