| Summary: | Permission denied for sshfs-mounted filesystem with android 13 / latest kdeconnect app | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Yannik Sembritzki <yannik> |
| Component: | android-application | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | andrew.g.r.holmes, georg.lipps, k.d.e |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 13.x | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Yannik Sembritzki
2023-12-20 12:37:32 UTC
On the android side, I can see the following messages using `adb logcat` when trying to access files on the mounted filesystem:
12-20 13:33:58.273 15311 15311 W sshd-SftpSubsys: type=1400 audit(0.0:2980): avc: denied { read } for name="/" dev="dm-2" ino=2 scontext=u:r:untrusted_app:s0:c51,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=org.kde.kdeconnect_tp
Same here. What works though is `ls mountdir/storage/emulated/0` Thanks for the beautiful oneliner allowing me to investigate the problem closer Mounting via sftp fails now but has worked before. I am now on KDE Connect 1.31 (updated 10.06.24). Maybe the update screwed up the mounting and I could try to roll back to older versions. Back to the oneliner my output is: """" debug1: hostkeys_find_by_key_hostfile: hostkeys file /home/georg/.ssh/known_hosts2 does not exist debug1: hostkeys_find_by_key_hostfile: hostkeys file /etc/ssh/ssh_known_hosts does not exist debug1: hostkeys_find_by_key_hostfile: hostkeys file /etc/ssh/ssh_known_hosts2 does not exist The authenticity of host '[192.168.0.153]:1739 ([192.168.0.153]:1739)' can't be established. ECDSA key fingerprint is SHA256:vFynwjoH36MBsY9wFJPu6ZpmMwSiws5cUsk3h6DYwyU. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '[192.168.0.153]:1739' (ECDSA) to the list of known hosts. debug1: rekey out after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS """" The mount itself works but for remounting again the question with the fingerprint is raised again. Should that not be stored somewhere as known host? |