Bug 345613

Summary: SFTP: Dolphin cannot access external SD card on Galaxy S5 Android 5.0
Product: [Applications] kdeconnect Reporter: vatbier <vatbier>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: brent.bartlett1, me, oliver.haag
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vatbier 2015-03-28 13:03:48 UTC
phone: Samsung Galaxy S5 Android 5.0 (out of the box)
Computer: Mageia 4 32-bit
kdeconnect-kde-0.8
kdeconnect-android-0.8e

My dolphin (version 4.12.5) can not access external SD card.
it shows:
Camera pictures(SD card)    : photo's on external sd card, can be browsed
Internal storage       : can be browsed
SD card             :  this is external sd card, shows no content

With konsole I can not list storage, 
I can list storage/emulated/0
I can list storage/extSdCard/DCIM/Camera
I can not list storage/extSdCard

[vatbier@alpha ~]$ ll /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1
content is listed
[vatbier@alpha ~]$ ll /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1/storage
ls: reading directory /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1/storage: Operation not permitted
[vatbier@alpha 0]$ ll /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1/storage/emulated/0
content is listed
[vatbier@alpha 0]$ ll /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1/storage/extSdCard
ls: reading directory /home/vatbier/.kde4/share/apps/kdeconnect/2527a64b0d7d43c1/storage/extSdCard: Operation not permitted
total 0
as root (with su) I can not list anything from the phone: Permission denied

Reproducible: Always
Comment 1 brent.bartlett1 2015-04-28 09:00:59 UTC
I'm getting the same thing. I'm using the plasmoid. I click on the folder icon, and the directory listing for the phone comes up. When I open the extSdCard folder, though, it's empty. I can see the files with the file manager on my phone, but they won't show up in KDEConnect.
Comment 2 Oliver Haag 2015-05-20 23:07:30 UTC
Have the same problem, but will all folders.

What's interesting is the following:
oliver@mercury:~$ ls -lA /home/oliver/.local/share/ba7b80128ac6c194/storage/
insgesamt 0
drwx------ 1 root root 0 Mai 19 17:21 sdcard0
drwx------ 1 root root 0 Mai 21 00:35 sdcard1
d--------- 1 root root 0 Mai 18 12:15 usbdisk0
oliver@mercury:~$ ls -lA /home/oliver/.local/share/ba7b80128ac6c194/storage/sdcard0/
ls: das Verzeichnis /home/oliver/.local/share/ba7b80128ac6c194/storage/sdcard0/ wird gelesen: Vorgang nicht zulässig
insgesamt 0
oliver@mercury:~$ ls -lA /home/oliver/.local/share/ba7b80128ac6c194/storage/sdcard1/
ls: das Verzeichnis /home/oliver/.local/share/ba7b80128ac6c194/storage/sdcard1/ wird gelesen: Vorgang nicht zulässig
insgesamt 0
oliver@mercury:~$ ls -lA /home/oliver/.local/share/ba7b80128ac6c194/storage/usbdisk0/
ls: das Verzeichnis /home/oliver/.local/share/ba7b80128ac6c194/storage/usbdisk0/ wird gelesen: Keine Berechtigung
insgesamt 0

So no listing for the root of each storage, but it's no problem for a subfolder on those:
oliver@mercury:~$ ls -lA /home/oliver/.local/share/ba7b80128ac6c194/storage/sdcard0/DCIM/
insgesamt 0
drwx------ 1 root root 0 Mai 19 03:57 100ANDRO
drwx------ 1 root root 0 Mai 19 03:57 Camera

Just used DCIM as example here, but it worked for every folder I tried so far.
Comment 3 Albert Vaca Cintora 2015-11-12 14:51:59 UTC

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