Re: Upload plugin again

Niko Sams <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
On Thu, Jan 28, 2010 at 21:36, Niko Sams <[email protected]> wrote:
> On Thu, Jan 28, 2010 at 16:38, Jakub Caban <[email protected]> wrote:
>> Hey,
>>
>> Sorry it's again my "irritating user" self. Although using Upload plugin showed really important bug.
>>
>> It is - when I upload something (for example via sftp as today I'm doing so) to the server, it sends files, but with completely messed permissions. I have 755 on all folders and 600 (or something like that) on all files. It leads to PHP application completely not working, as user I'm uploading with is not apache (normal situation I think ;) ).
>>
>> Could you Niko, or someone, take a look please?
> Hmm.. nothing special is done with permissions.
> @param permissions May be -1. In this case no special permission mode is set.
> and it is set to -1.
>
> I will do some testing on this issue.
Ok, I wrote a small test application that does just the file_copy using KIO.
Please update and execute
tests/permissions /local/file sftp://remote/path
When you can reproduce the problem with that app it looks like an KIO bug.

Niko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.