Bug 156959
Summary: | invalid file mode on created files | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Arne de Bruijn <redhat> | ||||||
Component: | unzip | Assignee: | Ivana Varekova <varekova> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 9 | CC: | juanino | ||||||
Target Milestone: | --- | Keywords: | Regression, Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | unzip-5.52-5 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-06-12 08:24:12 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Arne de Bruijn
2005-05-05 17:43:22 UTC
Hello, can you add mode to open command (change unzip-5.51-near-4GB.patch line 140 - fd = open(G.filename, O_WRONLY | O_LARGEFILE | O_CREAT); + fd = open(G.filename, O_WRONLY | O_LARGEFILE | O_CREAT | O_EXCL | 0600) ; and test whether is the bug still present. If there is any problem I can create changed package and attach it here. Ivana I changed line 140 of unzip-5.51-near-4GB.patch to fd = open(G.filename, O_WRONLY | O_LARGEFILE | O_CREAT, 0666); and that fixed the bug. This problem is fixed in unzip-5.51-11. (I use mode 0600.) If there is any problem please reopen this bug. Ivana Varekova Problem has reappeared in unzip-5.52 both version in F8 and RHEL, presumably f9 as well. see bug 227225 We do not keep bugs open against EOL versions of Fedora. Per comment #4 changing version to '8' Created attachment 306422 [details]
last patch in spec file fixes problem
Very well. I've attached a patch and src.rpm of the latest version.
Alternatively just edit unzip-5.52-near-4GB.patch as described above.
Created attachment 306423 [details]
new srpm
Thanks, this bug is fixed in unzip-5.52-5 version. |