Summary: | KIO changing files permissions on upload | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Jakub Caban <kuba> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adawit, alpha_one_x86, niko.sams |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.0 | |
Sentry Crash Report: |
Description
Jakub Caban
2010-01-30 19:44:18 UTC
In KDE 4.3.98 the problem still exists with exactly same symptoms. Could someone please comment on this is it my configuration mismatch (I use Gentoo ebuild all the way) or when it will get fixed? Thanks in advance In KDE 4.4.0 from SVN tag the problem still exists in exactly same way. I have additionally tried using command-line sftp to check if my comp and server are all OK, and it uploaded index.php with perms 644, so everything works OK from simple sftp. But unfortunately not KIO. Just to let you know - released 4.4 sill has the issue. *** Bug 225158 has been marked as a duplicate of this bug. *** 4.4.1 - still same problem 4.4.2 problem still occurs. Is anybody interested in this one? I really can provide any information you could ever need, as am really really interested in that one. In KDE 4.4.92 the problem still exists. I will test with RC3 when it will compile. In 4.4.95 no change... does this only happen with sftp? and the problem is probably that the KIO client creates a temp file for the upload, once that is done moves it to the destination. The temp file will have the default permissions as set by umask on the server. A fix would be to copy the permissions of the destination to the temp file before overwriting the destination. This should be fixed in KDE 4.8.0 as a result of the speed up patch committed before KDE 4.8 beta. See https://git.reviewboard.kde.org/r/103109. |