Bug 7657
Summary: | up2date wipes out .mailcap file first time it runs | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mark Lord <mlord> |
Component: | up2date | Assignee: | Preston Brown <pbrown> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-02-24 18:51:39 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: |
Description
Mark Lord
1999-12-07 19:02:45 UTC
Ahh.. looked in the Python references, and the "w+" mode means "truncate". This script /usr/sbin/up2date should be using "w" instead of "w+" when opening the ~/.mailcap file for updating!! -ml Ooopps.. meant to say that open mode should be "a", not "w" or "w+"!! this is very true. fixed for 6.2. |