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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/a9a84e8ad
                   |                            |1bb4ad4b09395eb9da3e1a240b0
                   |                            |9b2b
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit a9a84e8ad1bb4ad4b09395eb9da3e1a240b09b2b by Fushan Wen.
Committed on 03/01/2022 at 14:22.
Pushed by fusionfuture into branch 'master'.

file_unix: Do not try to preserve ownership when permission is -1

When the permission mode is set to -1, it means the copy job doesn't want to
touch the dest permissions, but the dest ownership is always touched, which
results in root password being required when creating a new file from
templates.

This commit makes the copy job ignore dest ownership when the permission
mode is -1, so no authentication dialog will pop up when creating a new
file from templates.

M  +4    -2    src/core/filecopyjob.h
M  +2    -1    src/core/slavebase.h
M  +9    -7    src/ioslaves/file/file_unix.cpp

https://invent.kde.org/frameworks/kio/commit/a9a84e8ad1bb4ad4b09395eb9da3e1a240b09b2b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to