<table><tr><td style="">chinmoyr edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ull3n2hbr4tha65/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14467">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">For actions chown, chmod and utime,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> chown is performed with elevated privileges.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">process' user and group id will be<br />
set to target's owner and group id and for other actions it will be set<br />
to owner and group id target's parent directory.<br />
<br />
As a special case,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">For chmod and utime, the uid and gid of the target file is considered when relinquishing privileges.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">for rename action the owner and group id of parent dir</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">For</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">of the new file is also checked. If it's same as target's then privileges<br />
are dropped accordingly otherwise privileges are preserved</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> the remaining actions, the uid and gid of target's parent directory is considered.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14467">https://phabricator.kde.org/D14467</a></div></div><br /><div><strong>To: </strong>chinmoyr, dfaure, ngraham, elvisangelaccio, Frameworks, Dolphin, maltek<br /><strong>Cc: </strong>maltek, mreeves, mgerstner, fvogt, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>