| Summary: | Creating a new file from templates requires root password | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Fushan Wen <qydwhotmail> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/commit/a9a84e8ad1bb4ad4b09395eb9da3e1a240b09b2b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Fushan Wen
2022-01-01 15:17:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/691 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 |