[kompare] [Bug 402363] File mode always set to 0600 when saving changes

Terry Barnaby bugzilla_noreply at kde.org
Sun Dec 29 07:58:21 GMT 2019


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

Terry Barnaby <terry at beam.ltd.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terry at beam.ltd.uk

--- Comment #2 from Terry Barnaby <terry at beam.ltd.uk> ---
Created attachment 124765
  --> https://bugs.kde.org/attachment.cgi?id=124765&action=edit
libkomparediff2 patch to set file permisions on copy

This is a patch that sets the file permissions on file_copy to be the same as
the original file. This may not be the correct way of doing this. I can't find
any documentation on what the permissions = -1 argument to KIO::file_copy is
actually supposed to do. This setting "may" have been meant to keep the files
permissions unchanged but it seem to set them to 0600. Maybe someone who knows
how KIO is supposed to work can answer this ?

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


More information about the Kompare-devel mailing list