D5394: KAuth integration in document saving - vol. 2

Fabian Vogt noreply at phabricator.kde.org
Tue Apr 18 13:10:41 UTC 2017


fvogt added a comment.


  Thanks!
  
  Only one issue remaining (I somehow missed during the last time): Directory rename race.
  
  Someone with the appropriate permissions (unlikely) could change the directory the path refers to in between the verification and the chmod/fchown/rename.
  
  Solution: Use relative paths, see also man 2 openat ("Rationale for openat() and other directory file descriptor APIs").

REPOSITORY
  R39 KTextEditor

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

To: martinkostolny, #ktexteditor, fvogt
Cc: elvisangelaccio, aacid, ivan, lbeltrame, fvogt, apol, anthonyfieroni, cullmann, ltoscano, dhaumann, graesslin, davidedmundson, palant, kwrite-devel, dfaure, #frameworks, head7, kfunk, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170418/1cca1cd4/attachment.html>


More information about the Kde-frameworks-devel mailing list