[dolphin] [Bug 434334] New: Folder disappear after using as mountpoint with `borg mount`

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Mar 12 18:34:51 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=434334

            Bug ID: 434334
           Summary: Folder disappear after using as mountpoint with `borg
                    mount`
           Product: dolphin
           Version: 20.12.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: panels: folders
          Assignee: dolphin-bugs-null at kde.org
          Reporter: scl at dismail.de
                CC: kfm-devel at kde.org
  Target Milestone: ---
             Flags: corner_case+

Created attachment 136627
  --> https://bugs.kde.org/attachment.cgi?id=136627&action=edit
Screenshots of the steps to reproduce

SUMMARY
Borg (https://www.borgbackup.org/) is a CLI backup tool with the ability to
mount so called archives as FUSE filesystem. (refer to
https://borgbackup.readthedocs.io/en/stable/usage/mount.html)
When mounting archives with `borg mount` the mountpoint folder disappears in
the graphical interface of dolphin if the user of the dolphin process has lower
rights as the owner of the mountpoint (e.g. mointpoint owner root while running
dolphin as regular user).


STEPS TO REPRODUCE
1. Open the GUI of dolphin at the directory containing the mountpoint as
regular user --> mounpoint folder visible
2. Mount borg archive running `borg mount path/to/repo::archive mountpoint`
from the bash as root
   - borg will set the owner and group of the mountpoint to the executing
user/group (in this case: root)
   - The success of these actions has been verified with `ls`
3. Switch back to the graphical panel of dolphin and press F5 to refresh -->
mountpoint folder disappears
4. Unmount with `umount mountpoint` from the bash as root
5. Switch back to the graphical panel of dolphin and press F5 to refresh -->
mountpoint folder appears

These steps have been reproducibly tested with the following two different
systems and with the borg repo located on the local and external disk.
- System1: Manjaro, KDE, dolphin
- System2: Manjaro, Gnome, dolphin,nautilus,thunar

Screenshots of the steps to reproduce from System2 are attached.


OBSERVED RESULT

                                   | dolphin   | nautilus | thunar
-----------------------------------|-----------|----------|---------
folder visibility                  |           |          |
                                   |           |          |
 - when unused                     |           |          |
   - and mountpoint_owner == user  | visible   | visible  | visible
   - and proc_user == regular_user | visible   | visible  | visible
     and mountpoint_owner == root  |           |          |
                                   |           |          |
 - when used as mountpoint         |           |          |
   - and mountpoint_owner == user  | visible   | visible  | visible
   - and proc_user == regular_user | INVISIBLE | visible  | visible
     and mountpoint_owner == root  |           |          |

1. The problem is dolphin related, because other filemanagers don't have this
behavior on different desktop environments and with different borg repository
locations
2. The problem appears only when a folder is used as borg mountpoint AND the
user of the dolphin process has lower rights as the mounpoint owner


EXPECTED RESULT
Dolpin shows folders regardless of its ownership or usage as mountpoint.


SOFTWARE/OS VERSIONS
The tested systems have been fully updated right before (date: 2021-03-12).
- plasma-desktop 5.21.2-1
- gnome-shell 1:3.38.3-1
- borg 1.1.14-3
- python-llfuse 1.3.8-2
- dolphin 20.12.2-1
- thunar 4.16.3-1
- nautilus 3.38.2-1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list