Bug 1323692 - rpmspectool does not respect umask
Summary: rpmspectool does not respect umask
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmspectool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 12:51 UTC by Petr Pisar
Modified: 2016-04-22 01:50 UTC (History)
1 user (show)

Fixed In Version: rpmspectool-1.99.5-1.fc24 rpmspectool-1.99.5-1.fc23 rpmspectool-1.99.5-1.fc22
Clone Of:
Environment:
Last Closed: 2016-04-20 15:26:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2016-04-04 12:51:06 UTC
I have rpmspectool-1.99.4-1.fc23.noarch and downloading source files creates files are not world-readable:

$ umask
0022

$ rpmspectool get perl-Clownfish.spec 
Downloading 'http://www.cpan.org/authors/id/N/NW/NWELLNHOF/Clownfish-0.5.0.tar.gz' to '/home/petr/fedora/perl-Clownfish/Clownfish-0.5.0.tar.gz'

$ ls -l Clownfish-0.5.0.tar.gz 
-rw-------. 1 petr petr 217904  4. dub 11.39 Clownfish-0.5.0.tar.gz

I think it should respect umask. I don't think the publicly available archives are secret enough to require special permissions.

Comment 2 Fedora Update System 2016-04-08 10:03:22 UTC
rpmspectool-1.99.5-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d5b50bc93a

Comment 3 Fedora Update System 2016-04-08 10:03:29 UTC
rpmspectool-1.99.5-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0abfa80249

Comment 4 Fedora Update System 2016-04-08 10:03:33 UTC
rpmspectool-1.99.5-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-559f1f9371

Comment 5 Fedora Update System 2016-04-08 16:51:14 UTC
rpmspectool-1.99.5-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0abfa80249

Comment 6 Fedora Update System 2016-04-08 20:50:00 UTC
rpmspectool-1.99.5-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d5b50bc93a

Comment 7 Fedora Update System 2016-04-08 20:53:55 UTC
rpmspectool-1.99.5-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-559f1f9371

Comment 8 Fedora Update System 2016-04-20 15:25:57 UTC
rpmspectool-1.99.5-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-04-20 19:22:20 UTC
rpmspectool-1.99.5-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-04-22 01:50:32 UTC
rpmspectool-1.99.5-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


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