Bug 1204907 - cannot copy files directly from smb mount to an Android mounted device
Summary: cannot copy files directly from smb mount to an Android mounted device
Keywords:
Status: CLOSED DUPLICATE of bug 1184728
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 22
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-23 17:55 UTC by lejeczek
Modified: 2016-01-20 11:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-01-20 11:08:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2015-03-23 17:55:58 UTC
Description of problem:

simply popus says "operation unsupported"
but from smb mount to local disk then to android mount - fine

Version-Release number of selected component (if applicable):

gnome-desktop3-3.15.92-1.fc22.x86_64
gnome-shell-3.15.92-2.fc22.x86_64
gnome-vfs2-common-2.24.4-18.fc22.noarch
gnome-vfs2-2.24.4-18.fc22.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lejeczek 2016-01-19 15:02:49 UTC
hi there, is is only me suffering from this problem?

I still get: "Operation unsupported"

gvfs-afc-1.26.2-1.fc23.x86_64
gvfs-archive-1.26.2-1.fc23.x86_64
gvfs-goa-1.26.2-1.fc23.x86_64
gvfs-smb-1.26.2-1.fc23.x86_64
gvfs-client-1.26.2-1.fc23.x86_64
gvfs-afp-1.26.2-1.fc23.x86_64
gvfs-mtp-1.26.2-1.fc23.x86_64
gvfs-1.26.2-1.fc23.x86_64
gvfs-fuse-1.26.2-1.fc23.x86_64
gvfs-gphoto2-1.26.2-1.fc23.x86_64

gnome-desktop3-3.18.2-1.fc23.x86_64
gnome-shell-3.18.3-1.fc23.x86_64yum

Comment 2 lejeczek 2016-01-19 15:11:29 UTC
ok, I've just change the component for this report from nautilus to gvfs, but! ...
I see, just tested it, that gvfs-copy works!
so maybe it actually is Nautilus?

regards

Comment 3 lejeczek 2016-01-19 15:47:00 UTC
actually - this must be a new addition I think - I cannot copy from my android phone to local disk with/via Nautilus. This is a disaster!

Comment 4 lejeczek 2016-01-19 15:52:40 UTC
nope, cancel my comment #3 - these paths, I got tangled up.
definitely:

$ gvfs-copy --preserve mtp://[usb:008,006]/Card/DCIM/Camera/20160102_103049.jpg smb://172.25.12.203/Photos/
Error copying file mtp://[usb:008,006]/Card/DCIM/Camera/20160102_103049.jpg: Operation unsupported

but

$ gvfs-mkdir smb://172.25.12.203/Photos/A

works!

Comment 5 lejeczek 2016-01-19 17:03:31 UTC
also, take a pdf doc while browsing in Firefox, don't save it but open with, eg. Evince, not try to "save a copy" in Evince to a smb mount - you cannot!

Comment 6 Ondrej Holy 2016-01-20 08:28:34 UTC
Hey, thanks for your bug report.

(In reply to lejeczek from comment #0)
> Description of problem:
> 
> simply popus says "operation unsupported"
> but from smb mount to local disk then to android mount - fine

Unfortunately some mtp devices doesn't support google extensions for file stream operations and thus transfer from/to local disk is possible only. So it is not possible to copy file to another remote location such as smb. Consequently you can see "operation unsupported" error.

(In reply to lejeczek from comment #5)
> also, take a pdf doc while browsing in Firefox, don't save it but open with,
> eg. Evince, not try to "save a copy" in Evince to a smb mount - you cannot!

It sounds like another issue. It might be problem with file chooser, because I see this with e.g. ftp also... I will debug it further...

Comment 7 Ondrej Holy 2016-01-20 10:04:14 UTC
(In reply to lejeczek from comment #1)
> hi there, is is only me suffering from this problem?

No, you are not alone, this is generally duplicate of Bug 1184728.

Comment 8 Ondrej Holy 2016-01-20 10:10:53 UTC
(In reply to Ondrej Holy from comment #6)
> (In reply to lejeczek from comment #5)
> > also, take a pdf doc while browsing in Firefox, don't save it but open with,
> > eg. Evince, not try to "save a copy" in Evince to a smb mount - you cannot!
> 
> It sounds like another issue. It might be problem with file chooser, because
> I see this with e.g. ftp also... I will debug it further...

It is caused by the following patch, because some backends do not set executable attribute:
https://git.gnome.org/browse/gtk+/commit/?id=8e975b28ff460db3bf8ea99f5a07fb9d709c4f1c

Comment 9 Ondrej Holy 2016-01-20 11:08:11 UTC
So I proposed patch for file chooser to fix the second issue:
https://bugzilla.gnome.org/show_bug.cgi?id=760881

And closing the bug as duplicate, because the original issue is duplicate of Bug 1184728.

*** This bug has been marked as a duplicate of bug 1184728 ***


Note You need to log in before you can comment on or make changes to this bug.