Bug 202099
Summary: | gedit destroys ACLs/SELinux context/xattrs when saving files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Antill <james.antill> | ||||
Component: | gedit | Assignee: | Ray Strode [halfline] <rstrode> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | kmacmill | ||||
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: | 2006-08-21 02:22:25 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 201088 | ||||||
Attachments: |
|
Description
James Antill
2006-08-10 19:33:35 UTC
Created attachment 133977 [details]
patch to add full xattr copying to gedit
Hi James, we can apply this locally in rawhide, but would you mind filing the patch upstream as well? *** Bug 202097 has been marked as a duplicate of this bug. *** Also, would it be appropriate to give a similar treatment to g_file_set_contents() ? Well, we document g_file_set_contents as explicitly not having those semantics: "On Unix, if filename already exists hard links to filename will break. Also since the file is recreated, existing permissions, access control lists, metadata etc. may be lost. If filename is a symbolic link, the link itself will be replaced, not the linked file." Well, we say it _may_ be lost. We don't say it _will_ be lost. Looks like a quality-of-implementation issue to me. fixed in the gedit that is in rawhide |