[Bug 195216] Re: Permission troubles copying files to NTFS

Bug Watch Updater 195216 at bugs.launchpad.net
Thu May 24 10:47:55 UTC 2012


Launchpad has imported 23 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=206500.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-09-06T15:34:47+00:00 Acristoffers wrote:

Version:           1.3 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

When I copying or moving files from my EXT4 FS to a NTFS or FAT(32) FS
and Dolphin (also happens with Konqueror) can't change files permissions
it shows a Dialog to tell me it.

But this Dialog does not have an option such as "Don't show this message
again", so if it cannot change the permission for 100 files, it will
show 100 Dialogs.

It would be good if:

1) there was an option "Don't show this again"

2) all the errors were shown only once, when the copy/move has finished
(as a big list of all errors)

* Sorry for putting it in Dolphin section, I don't know where is the
best place...

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/11

------------------------------------------------------------------------
On 2009-11-12T11:58:08+00:00 Pbakhuis wrote:

Confirming this happens in openSUSE 11.2 RC2 as well. 
Dolphin 4.3.1-5.6.3.
Endless flood of error dialogs (as soon as you open one, the next pops up).
Waiting for the entire copy operating to finish and clicking ok (the only option) end it.

This really should be done with a checkbox for "Don't show me this error
again" or a button Ok to all.. or via an error without a dialog.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/12

------------------------------------------------------------------------
On 2009-11-22T12:11:38+00:00 Getaceres-h wrote:

This is a very annoying bug because the dialog is shown for every file
that is copied and it blocks Dolphin.

Some months ago I tried to introduce to Linux to my brother and I
installed it Kubuntu Jaunty. He liked the look of KDE in general but he
usually copies a lot of files from the filesystem to his backup
partition and USB drives. Using it for a week was enough for him to ask
me to remove the message and I couldn't do it. I had to install Nautilus
and put an icon in his desktop. Now, Nautilus does not integrate with
KDE at all and it tries to open files with the GNOME applications
instead of the KDE ones so, explaining him why he had to use two
different file managers (one to browse and one to copy) increased his
"Linux sucks" impression.

Using plasma notification or a "Don't show again" or "Ignore all" option
would be a good solution but blocking Dolphin for such a stupid message
is not the best solution, I think.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/13

------------------------------------------------------------------------
On 2009-12-08T17:39:31+00:00 Acristoffers wrote:

It could just show a message in the status bar, like when it cannot
mount a partition...

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/14

------------------------------------------------------------------------
On 2009-12-17T16:21:54+00:00 Doug Brunner wrote:

It appears that part of the underlying problem is with detecting whether
a file system supports the notion of permissions. For me (using KDE
4.3.2), the dialog does not show up when copying to a VFAT filesystem,
but it does when copying to NTFS. I traced it by making each instance of
the string "Could not change permissions" distinctive; it turns out that
the dialog originates on lines 276-277 of file_unix.cpp in kioslave:

           if ( mp && mp->testFileSystemFlag( KMountPoint::SupportsChmod ) )
               warning(i18n("Could not change permissions for\n%1", dest));

I then went to look at KMountPoint::testFileSystemFlag (in kio, in the
file kmountpoint.cpp), and found that it has a list of filesystem types,
and if the filesystem is one of them, it sets a variable called isMsDos
to true. If isMsDos is true, ::SupportsChmod returns false.
Unfortunately, just detecting the filesystem type doesn't help here
since NTFS-3g is a FUSE driver and consequently shows a filesystem type
of fuseblk, which could include filesystems other than NTFS. Perhaps a
better way to go would be to do a quick series of tests on a filesystem
that's just been opened, and then store those results? This would make
the system immune to problems when new filesystem types are added.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/15

------------------------------------------------------------------------
On 2009-12-17T17:02:56+00:00 David Faure wrote:

Good analysis, thanks!

Doing tests sounds slow and complicated, how about we hide this warning
for all fuseblk filesystems? I don't think it is actually that useful,
to the point where it would be a problem to miss the warning in cases
where the filesystem actually supports chmod?

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/16

------------------------------------------------------------------------
On 2009-12-17T21:33:49+00:00 Doug Brunner wrote:

That seems reasonable, as long as KDE still tries to do the chmod (for
the benefit of fuse filesystems that do support chmod, chown, etc.), but
fails silently in the case of filesystems that don't support it.

The list of "no warnings" filesystems should probably include a few
different variants actually; according to
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/92099, an ntfs-
3g filesystem can show up as fuse, fuseblk, fuse.ntfs-3g, or fuseblk
.ntfs-3g. Future kernels will probably be moving towards showing the
.ntfs-3g subtype. Actually, when I mount an sshfs, it shows up as
fuse.sshfs, so there is some support for showing subtypes in /etc/mtab
and /proc/mounts already.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/17

------------------------------------------------------------------------
On 2010-01-15T15:36:02+00:00 Dario Andres wrote:

Bug 221192 contains more useful information too.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/18

------------------------------------------------------------------------
On 2010-01-15T15:36:10+00:00 Dario Andres wrote:

*** Bug 221192 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/19

------------------------------------------------------------------------
On 2010-01-15T15:40:32+00:00 Dario Andres wrote:

@Peter: could something be done on Dolphin level ?

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/20

------------------------------------------------------------------------
On 2010-01-15T15:41:37+00:00 Dario Andres wrote:

*** Bug 179970 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/21

------------------------------------------------------------------------
On 2010-01-15T16:03:19+00:00 Peter-penz19 wrote:

@Dario: no, on Dolphin level nothing can be done here

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/22

------------------------------------------------------------------------
On 2010-01-17T18:08:39+00:00 Frank78ac wrote:

*** Bug 223068 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/23

------------------------------------------------------------------------
On 2010-03-16T12:53:28+00:00 Frank78ac wrote:

*** Bug 230913 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/24

------------------------------------------------------------------------
On 2010-08-30T18:39:41+00:00 ghomem wrote:

@David Faure

This also happens while accessing samba shares, not only on NTFS.

http://ubuntuforums.org/showthread.php?t=1187116

Ref:

http://api.kde.org/4.x-api/kdelibs-apidocs/kioslave/html/file__unix_8cpp_source.html
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/kmountpoint_8cpp_source.html

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/29

------------------------------------------------------------------------
On 2010-12-08T14:06:01+00:00 Frank78ac wrote:

*** Bug 259124 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/30

------------------------------------------------------------------------
On 2011-09-22T21:47:22+00:00 Frank78ac wrote:

*** Bug 282483 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/31

------------------------------------------------------------------------
On 2011-09-22T23:35:43+00:00 Rafael Belmonte wrote:

*** This bug has been confirmed by popular vote. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/32

------------------------------------------------------------------------
On 2011-09-27T23:10:57+00:00 Frank78ac wrote:

*** Bug 282634 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/33

------------------------------------------------------------------------
On 2012-02-17T19:21:16+00:00 Doktor5000 wrote:

Ping?
FWIW, is it really that difficult to hide this message?

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/35

------------------------------------------------------------------------
On 2012-04-02T08:46:33+00:00 Aldoo wrote:

Just had to deal with an endless series of such dialogs...
... then I remembered I've been seeing this behavior for ages and wondered why it was still here.

Anyway, +20 votes for this bug.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/36

------------------------------------------------------------------------
On 2012-04-02T19:53:53+00:00 Doktor5000 wrote:

(In reply to comment #20)
> Just had to deal with an endless series of such dialogs...


FWIW, just leave the first instance of the dialog open, let the copy process finish, and then click it away. If you do this while the copy process is still underway, then you'll get one dialog for each file until the process is finished.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/37

------------------------------------------------------------------------
On 2012-05-23T20:55:42+00:00 gurpal2000 wrote:

So this IS a bug. I have a synology NAS with a shared folder mounted via
Gigolo on KDE. Yes Gigolo because smb4k isn't fit for purpose (another
story). Anyway, if you use the CMD line to copy a file to the
.gvfs/shareblah folder there's no prompt. It's only the Dolphin GUI that
has this message. So why is there no error message on the console vs
Dolphin ???

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/195216/comments/38

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/195216

Title:
  Permission troubles copying files to NTFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/195216/+subscriptions




More information about the kubuntu-bugs mailing list