Re: Upload plugin again
Jakub Caban <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Organization | WhyBlack |
| Message-ID | <[email protected]> |
Hey, Yes I have just reproduced that bug using tests/permissions. It have behaviour exactly same as when uploading via KDevelop. When creating new file it sets permissions to 600. If I understood clearly I shall post a bug report at KDE bugzilla, although I am unable to provide any technical details that could help. My command was: tests/permssions ~/[path]/index.php sftp://[server]/[path]/index.php On my computer: ls -l ~/[path]/index.php -rw-r--r-- 1 lustmored lustmored 899 Jan 28 21:35 /[path]/index.php Remote: -rw------- 1 [user] [user] 899 Jan 30 19:16 index.php If I can provide any more information, please just ask. -- Best Regards, Jakub Caban On Friday 29 of January 2010 08:03:09 Niko Sams wrote: > 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 > _______________________________________________ > Quanta mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/quanta >