[kdenetwork-filesharing] [Bug 502809] New: kdenetwork-filesharing doesn't work with users managed by systemd-homed

Angel Sherry bugzilla_noreply at kde.org
Mon Apr 14 22:20:22 BST 2025


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

            Bug ID: 502809
           Summary: kdenetwork-filesharing  doesn't work with users
                    managed by systemd-homed
    Classification: Frameworks and Libraries
           Product: kdenetwork-filesharing
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: yohaneshiro at vivaldi.net
                CC: sitter at kde.org
  Target Milestone: ---

Created attachment 180270
  --> https://bugs.kde.org/attachment.cgi?id=180270&action=edit
The sharing tab is empty

SUMMARY

kdenetwork-filesharing does not work with users managed by systemd-homed, even
when they are members of the sambashare group. The "Sharing" tab in Dolphin
does not display any information.

The following error appears in the terminal:

PermissionsHelper::reload() failed: current user is null
qrc:/org.kde.filesharing.samba/qml/main.qml:39: TypeError: Cannot read property
'inSamba' of null

STEPS TO REPRODUCE

1. Enable systemd-homed and create a user.
2. Start the SMB and NMB services.
3. Add the user to the sambashare group and use sudo smbpasswd -a <username> to
add the user to Samba.
4. Right-click on a file or directory in Dolphin and navigate to the "Sharing"
tab.

OBSERVED RESULT

The "Sharing" tab is empty and no sharing options are available.

EXPECTED RESULT

The "Sharing" tab should display the Samba share settings for the selected file
or directory.

SOFTWARE/OS VERSIONS

    Operating System: Garuda Linux
    KDE Plasma Version: 6.3.4
    KDE Frameworks Version: 6.12.0
    Qt Version: 6.9.0
    Kernel Version: 6.9.9-zen1-1-zencjk (64-bit)
    Graphics Platform: Wayland
    Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
    Memory: 30.7 GiB of RAM
    Graphics Processors: AMD Radeon Graphics, NVIDIA GeForce RTX 3070 Laptop
GPU
    Manufacturer: ASUSTeK COMPUTER INC.
    Product Name: ASUS TUF Gaming A15 FA506QR_FA506QR
    System Version: 1.0

ADDITIONAL INFORMATION

    kdenetwork-filesharing version: 24.12.3-1
    systemd version: 257.5-1

When using a user that is not managed by systemd-homed, the "Sharing" tab
functions as expected.

Here is my nsswitch.conf:

# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd

publickey: files

hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return]
files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list