chinmoyr updated this revision to Diff 24585. chinmoyr added a comment.
1.Added check for unit test mode at beginning of put. 2.put was setting the wrong permissions because I initialized 'filemode' to 0 and did't update it. Now it is fixed. 3.Replaced file.setPermissions with Qfile::setPermissions and used tryChangeFileAttr in put. 4.Moved 'finished()' in chmod out of the else block. REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D6831?vs=20367&id=24585 BRANCH master REVISION DETAIL https://phabricator.kde.org/D6831 AFFECTED FILES src/ioslaves/file/file.cpp src/ioslaves/file/file_unix.cpp To: chinmoyr, dfaure, #frameworks Cc: #frameworks