D19939: Avoid failing installation via temporary dir due to file name clashes

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Thu Mar 21 11:45:56 GMT 2019


kossebau created this revision.
kossebau added reviewers: Frameworks, leinir.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
kossebau requested review of this revision.

REVISION SUMMARY
  When installing to a temporary dir, there could be file name clashes
  as the plain temporary dir path was used, with no further namespacing.
  So if e.g. some other user on the same system had downloaded the same
  resource before, that existing file due to its file rights would even
  prevent the installation.

TEST PLAN
  Installing, updating, deleting and reinstalling widget themes, window
  themes, color themes as different users works.

REPOSITORY
  R304 KNewStuff

BRANCH
  avoidtmpinstallclashes

REVISION DETAIL
  https://phabricator.kde.org/D19939

AFFECTED FILES
  src/core/installation.cpp

To: kossebau, #frameworks, leinir
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190321/132e90a0/attachment.html>


More information about the Kde-frameworks-devel mailing list