Bug 200794 - zope: world writable files
Summary: zope: world writable files
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: zope
Version: 5
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: Security
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-31 18:12 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-08-04 18:41:50 UTC


Attachments (Terms of Use)

Description Ville Skyttä 2006-07-31 18:12:20 UTC
The following files in zope are world writable apparently due to bad umask
setting in the FE build system; its maintainers have been notified.

/usr/lib/zope/skel/etc/logrotate.conf.in
/usr/share/doc/zope-2.8.3/README.Fedora
/var/lib/zope/etc/logrotate.conf

FE[345] and devel are affected and this should be fixed in the package anyway, a
fix is to use "install -pm 644" instead of cp when copying files around.

Comment 1 Callum Lerwick 2006-08-01 22:33:21 UTC
The packaging guidelines should probably be updated to recommend not using cp,
rather than the approval it currently gives:

http://fedoraproject.org/wiki/Packaging/Guidelines#head-0239576e441f9ef53d175c4aec8c12868dffb5ab

Comment 2 Chris Weyl 2006-08-01 22:48:39 UTC
A liberal use of %{_fixperms} also helps catch things.

Comment 4 Aurelien Bompard 2006-08-04 18:41:50 UTC
Thanks for dealing with this while I was on vacation. I confirm that the updated
version has correct permissions.


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