Skip to content
  • David Faure's avatar
    NTFS doesn't support chmod, so ignore chmod errors when copying files. · 51c00963
    David Faure authored
    FUSE doesn't make it easy to detect NTFS mounts, though...
    In this code we have to hardcode "fuseblk" and hope that more recent versions
    of FUSE indeed show "fuseblk.ntfs-3g" instead, as a bug report suggested.
    
    But even worse: I want to replace this code with KFileSystemType which
    uses statvfs(), which is much faster and less code, but on linux that method
    returns the same number (FUSE_SUPER_MAGIC, 0x65735546) for all fuse filesystems :(
    
    Also add SMB/CIFS mounts to the list of filsystems "made by microsoft and therefore
    doesn't support chown, chmod, utime, nor proper symlinks".
    
    FIXED-IN: 4.9.1
    BUG: 206500
    51c00963