[kompare] [Bug 427767] New: Merged file permissions not consistent with original

Maverick bugzilla_noreply at kde.org
Thu Oct 15 17:07:48 BST 2020


https://bugs.kde.org/show_bug.cgi?id=427767

            Bug ID: 427767
           Summary: Merged file permissions not consistent with original
           Product: kompare
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kompare-devel at kde.org
          Reporter: basic89 at gmail.com
  Target Milestone: ---

SUMMARY
When saving file after merge, the permissions of the file might change. This
can easily result in a broken system when used to merge files in /etc under su,
like when managing .pacnew in Arch Linux and is therefore a severe problem.

STEPS TO REPRODUCE
1. Touch a file test.txt and change group and others permissions in some way
2. Compare test.txt with another file, apply a difference and save
3. Check permissions of test.txt. 

OBSERVED RESULT
test.txt permissions always end up "-rw-------", no matter what they were set
to in 1. Note, that those are also not the default permissions as were after
initial touch.

EXPECTED RESULT
Permissions should be identical to in 1.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch / 5
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list