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

Reply via email to