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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|plasma-b...@kde.org         |fa...@kde.org
     Ever confirmed|0                           |1
            Product|kio-extras                  |frameworks-kio
            Version|unspecified                 |git master
            Summary|Check if destination has    |CopyJob should query free
                   |enough free space available |space from slave when URL
                   |before start file transfer  |is not local
                   |to a samba share            |
          Component|Samba                       |general
                 CC|                            |kdelibs-b...@kde.org,
                   |                            |sit...@kde.org
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Harald Sitter <sit...@kde.org> ---
That is, I believe, a defect in KIO itself. CopyJob uses KDiskFreeSpaceInfo to
determine if there is enough space but KDiskFreeSpaceInfo only looks at mounts.
As such this isn't specific to smb but really any remote file system. What
either copyjob or kfreediskspaceinfo should do is query the slave for free
space info when the URL is non-local.

Easily reproduced with:

fallocate -L 50M foo
mkfs.ext4 foo
mount foo /mnt
chmod 777 /mnt/. -Rv
# share /mnt
# copy file > 50M

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to