[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [krusader] [Bug 333398] FTP creates directories without write perissions
From:       Gregor Petrin <gregap () gmail ! com>
Date:       2014-05-20 9:51:03
Message-ID: bug-333398-17878-qqJiszH8gc () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=333398

Gregor Petrin <gregap@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |UPSTREAM

--- Comment #5 from Gregor Petrin <gregap@gmail.com> ---
On OpenSUSE I only needed the package kdebase4-workspace-devel to build
krusader (though I may have had helpers like gcc, make, cmake and other dev
packages already installed).

That false parameter you found seems to mean that the link is not broken
(according to vfile.h) - vfiles are used to render the user interface and since
you can style broken links differently a vfile must have this property set.
That block of code seems to only support the GUI.

As far as I can see the actual copying happens in ftp_vfs::vfs_addFiles; the
relevant code block looks like this:

case KIO::CopyJob::Copy:
        job = KIO::copy(*fileUrls, destUrl);
        break;

The fileUrls is the list of files & folders that need to be copied in form of
KUrl objects. KUrl doesn't handle file permissions (looking at KUrl.h) so this
is why I am assuming KIO does all the copying work, including setting the
permissions.

This seems more and more like an upstream problem but I would still prefer a
more 'official' confirmation.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic