Hallo Forum,
Betriebssystem Leap 15.1
Wenn ich eine USB-Festplatte oder ein Androidtelefon einstecke, wird dieses automatisch gemountet und in dolphin angezeigt.
Unregelmäßig oder in nicht reproduzierbaren Situationen sind diese Schreibgeschützt!
Ich mache dann das, was ich immer mache - ich schaue nach wo das ganze “hingemountet” wurde um den mount-Punkt
mit chown -R ich:users /mountpunkt/ auf meine Berechtigung zu bringen.
Und was sehe ich - ich sehe NICHTS!
# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=2005932k,nr_inodes=501483,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
/dev/sda1 on / type ext4 (rw,relatime,data=ordered)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13898)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=403196k,mode=700,uid=1000,gid=100)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
Das was ich noch erkenne ist: /dev/sda1 on / type ext4 (rw,relatime,data=ordered)
Ich verliere den Überblick.
Aber halt, die 1000 kommt mir bekannt vor und sehe nach /run/user/1000/
# ll /run/user/1000/
ls: cannot access '/run/user/1000/gvfs': Permission denied
total 4
-rw-r--r-- 1 awitte users 77 Aug 7 08:39 KSMserver__0
srw-rw-rw- 1 awitte users 0 Aug 7 08:39 bus
drwx------ 3 awitte users 60 Aug 7 08:39 dbus-1
drwx------ 2 awitte users 60 Aug 7 09:18 dconf
drwx------ 2 awitte users 160 Aug 7 11:51 gnupg
d????????? ? ? ? ? ? gvfs
srw------- 1 awitte users 0 Aug 7 08:39 kdeinit5__0
srwxr-xr-x 1 awitte users 0 Aug 7 08:39 klauncherTJ1733.1.slave-socket
drwx------ 2 awitte users 60 Aug 7 09:16 krb5cc
drwx------ 2 awitte users 80 Aug 7 08:39 pulse
drwxr-xr-x 3 awitte users 100 Aug 7 08:39 systemd
Jeder Versuch, das Verzeichnis gvfs auf meine Berechtigung zu bringen (auch als root) ist fehlgeschlagen!!!
Selbst das booten von einem Livesystem und anlegen des Verzeichnisses gvfs mit meinen Berechtigungen sind fehlgeschlagen!!!
!!! Ich bin nicht Herr dieser Maschine !!!
Über ‘man gvfs’ stoße ich auf den Befehl ‘gio’:
# gio
Usage:
gio COMMAND [ARGS...]
Commands:
help Print help
version Print version
cat Concatenate files to standard output
copy Copy one or more files
info Show information about locations
list List the contents of locations
mime Get or set the handler for a mimetype
mkdir Create directories
monitor Monitor files and directories for changes
mount Mount or unmount the locations
move Move one or more files
open Open files with the default application
rename Rename a file
remove Delete one or more files
save Read from standard input and save
set Set a file attribute
trash Move files or directories to the trash
tree Lists the contents of locations in a tree
Use “gio help COMMAND” to get detailed help.
Eine Liste bekomme ich mit:
# gio list
smb-browse.mount
admin.mount
afp-browse.mount
afp.mount
archive.mount
burn.mount
cdda.mount
computer.mount
dav+sd.mount
dav.mount
dns-sd.mount
ftp.mount
ftps.mount
google.mount
gphoto2.mount
http.mount
localtest.mount
mtp.mount
network.mount
nfs.mount
recent.mount
sftp.mount
trash.mount
smb.mount
afc.mount
Und das ist interessant für mich, besonders wegen smb-browse, smb und mtp (wegen Probleme)!
Ich gebe ein:
# gio list smb-browse.mount
gio: file:///usr/share/gvfs/mounts/smb-browse.mount: Error opening directory '/usr/share/gvfs/mounts/smb-browse.mount': Not a directory
# gio list smb
smb-browse.mount smb.mount
# gio list smb.mount
gio: file:///usr/share/gvfs/mounts/smb.mount: Error opening directory '/usr/share/gvfs/mounts/smb.mount': Not a directory
# ll /usr/share/gvfs/mounts/
total 100
-rw-r--r-- 1 root root 286 Jul 1 12:18 admin.mount
-rw-r--r-- 1 root root 88 Jul 1 12:18 afc.mount
-rw-r--r-- 1 root root 131 Jul 1 12:18 afp-browse.mount
-rw-r--r-- 1 root root 122 Jul 1 12:18 afp.mount
-rw-r--r-- 1 root root 85 Jul 1 12:18 archive.mount
-rw-r--r-- 1 root root 64 Jul 1 12:18 burn.mount
-rw-r--r-- 1 root root 64 Jul 1 12:18 cdda.mount
-rw-r--r-- 1 root root 72 Jul 1 12:18 computer.mount
-rw-r--r-- 1 root root 73 Jul 1 12:18 dav+sd.mount
-rw-r--r-- 1 root root 67 Jul 1 12:18 dav.mount
-rw-r--r-- 1 root root 104 Jul 1 12:18 dns-sd.mount
-rw-r--r-- 1 root root 115 Jul 1 12:18 ftp.mount
-rw-r--r-- 1 root root 117 Jul 1 12:18 ftps.mount
-rw-r--r-- 1 root root 74 Jul 1 12:18 google.mount
-rw-r--r-- 1 root root 70 Jul 1 12:18 gphoto2.mount
-rw-r--r-- 1 root root 100 Jul 1 12:18 http.mount
-rw-r--r-- 1 root root 74 Jul 1 12:18 localtest.mount
-rw-r--r-- 1 root root 62 Jul 1 12:18 mtp.mount
-rw-r--r-- 1 root root 69 Jul 1 12:18 network.mount
-rw-r--r-- 1 root root 73 Jul 1 12:18 nfs.mount
-rw-r--r-- 1 root root 68 Jul 1 12:18 recent.mount
-rw-r--r-- 1 root root 136 Jul 1 12:18 sftp.mount
-rw-r--r-- 1 root root 142 Jul 1 12:18 smb-browse.mount
-rw-r--r-- 1 root root 79 Jul 1 12:18 smb.mount
-rw-r--r-- 1 root root 66 Jul 1 12:18 trash.mount
Das sind alles Dateien, keine Verzeichnisse!
Habe angefangen die Dateien mtp, smb-browse und smb umzubenennen nach *.Orginal und Namensgleiche Verzeichnisse anzulegen!
Erste Reaktion in dolphin - unter Netzwerk => freigegebene Ordner (smb), sehe ich die Windowsdomäne, Sambadomäne und eine workgroup
Also ich sehe smb://
Mit ein bischen Glück habe ich die Lösung meiner Probleme gefunden - werde alle Dateien in /usr/share/gvfs/mounts/ in Verzeichnisse überführen!
Wenn das nicht richtig sein sollte - bitte melden!